Installing tmux

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.

Running tmux on Windows

We can’t run tmux natively on Windows, but we can run it in ...

Get Remote Pairing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.