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 3.4 or higher. Previous versions of tmux don’t support some of the features you’re going to explore in this book, or they have a configuration that’s incompatible.
Installing on a Mac
The easiest way to install tmux on the Mac is with Homebrew.[3]
First, install the command-line tools Homebrew needs if you don’t have them installed already. Open a new terminal and run the following command:
| | $ xcode-select --install |
Next, install Homebrew by following the instructions on the Homebrew website.
Finally, install tmux ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access