Installing tmux

You can install tmux in one of two ways: using a package manager for your operating system, or building tmux from source.

Whichever method you choose, you’ll want to ensure you install tmux version 1.7 or higher. Earlier versions of tmux don’t support some of the features we’re going to cover.

Installing Via a Package Manager

tmux is available in many package managers. On OS X, you can get tmux using Homebrew[2] or Macports.[3] Installation of these package managers is beyond the scope of this book; consult the web page for the manager of your choice. For either one, you’ll need Xcode, which you can install through the Mac App Store.

If you use Homebrew, you can install tmux like this:

 
$ ​brew install tmux

If you use ...

Get tmux 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.