Install Latest tmux with Homebrew
Homebrew for macOS
I’ve been meaning to try Homebrew for Linux since brew 2.0.0 release a few months ago, and finally there is a good opportunity! The tmux available through Ubuntu 19.04 repos is 2.8 while I want to try the latest features introduced with the tmux 2.9 branch.
Install Homebrew for Linux
One of the advantages Homebrew promises on its website is that you don’t need sudo privilege (any superuser ability) for installing software – it all can happen right in your home directory. I do have sudo access and therefore typed my password when prompted by the Homebrew install script:
That was easy! After just a few minutes I was ready to update my PATH variable to include Homebrew location in my homedir:
Install tmux with Homebrew
Now simply type this:
and a few minutes (and a number of software dependencies) later you’ll see the confirmation that tmux 2.9a was installed.
Check tmux Version
Just to be sure:
Not bad at all! I wonder if brew for Linux is the easiest way to try latest versions of software? One thing for sure – it’s a great way to make sure my dotfile configs are working transparently between Linux and Macbook, because I’ll be using Homebrew to install latest versions of tmux on both.
See Also
- tmux
- Homebrew website
- tmux configuration
- Homebrew software
- Windows previews in tmux
- brew command is missing
- Change meta key in tmux
Homebrew for macOS
I’ve been meaning to try Homebrew for Linux since brew 2.0.0 release a few months ago, and finally there is a good opportunity! The tmux available through Ubuntu 19.04 repos is 2.8 while I want to try the latest features introduced with the tmux 2.9 branch.
Install Homebrew for Linux
One of the advantages Homebrew promises on its website is that you don’t need sudo privilege (any superuser ability) for installing software – it all can happen right in your home directory. I do have sudo access and therefore typed my password when prompted by the Homebrew install script:
That was easy! After just a few minutes I was ready to update my PATH variable to include Homebrew location in my homedir:
Install tmux with Homebrew
Now simply type this:
and a few minutes (and a number of software dependencies) later you’ll see the confirmation that tmux 2.9a was installed.
Check tmux Version
Just to be sure:
Not bad at all! I wonder if brew for Linux is the easiest way to try latest versions of software? One thing for sure – it’s a great way to make sure my dotfile configs are working transparently between Linux and Macbook, because I’ll be using Homebrew to install latest versions of tmux on both.
See Also
- tmux
- Homebrew website
- tmux configuration
- Homebrew software
- Windows previews in tmux
- brew command is missing
- Change meta key in tmux