i3-save-tree command not found

In this troubleshooting guide we learn how to fix i3-save-tree command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

i3-save-tree: command not found

or when using sudo you get the following error message

sudo: i3-save-tree: command not found

Solutions to i3-save-tree: command not found

How To Fix i3-save-tree: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu i3-save-tree is provided by i3-wm package.

i3-wm is:

Key features of i3 are good documentation, reasonable defaults (changeable in a simple configuration file) and good multi-monitor support. The user interface is designed for power users and emphasizes keyboard usage. i3 uses XCB for asynchronous communication with X11 and aims to be fast and light-weight.

Please be aware i3 is primarily targeted at advanced users and developers.

To fix this problem, we can install more using the command below.

sudo apt-get -y install i3-wm

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install i3-wm.

sudo apt -y install i3-wm

Or if you have aptitude installed you can use the following command.

sudo aptitude install i3-wm

Summary

In this tutorial we learn how to fix i3-save-tree command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.