On Linux, we can download tmux from the system’s package manager. The command on Debian-based systems like Ubuntu is this:
$ apt-get install tmux
On CentOS- and RedHat-based Linux systems the command is this:
$ yum install tmux
On Mac OS X, we can install it with the help of Homebrew by using the following command:
$ brew install tmux
However, the versions of tmux that apt-get and yum provide will be out of date. If we want to use the latest and greatest tmux, then we’ll need to follow the steps to compile it in Installing tmux from Source. But as long as we’re running version 1.7 or newer, the examples in this book will work.
We can’t run tmux natively on Windows, but we can run it in ...