Tmux Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS
Maintainer: Romain Francoise
Email: [email protected] .
Website: https://tmux.github.io/
Section: admin
Install tmux
-
Debian
apt-get install tmuxClick to copy -
Ubuntu
apt-get install tmuxClick to copy -
Alpine OS
apk add tmuxClick to copy -
Arch Linux
pacman -S tmuxClick to copy -
Kali Linux
apt-get install tmuxClick to copy -
CentOS
yum install tmuxClick to copy -
Fedora
dnf install tmuxClick to copy -
Raspbian
apt-get install tmuxClick to copy -
macOS
brew install tmuxClick to copy
Multiplex several virtual consoles.
How to use tmux?
Below are few example commands for tmux that you can use in the terminal.
Start a new tmux session:tmuxClick to copyStart a new named tmux session:tmux new -s nameClick to copyList sessions:tmux lsClick to copyAttach to a session:tmux aClick to copyAttach to a named session:tmux a -t nameClick to copyDetach from session:Ctrl + B, DClick to copyKill session:tmux kill-session -t nameClick to copyKill session when attached:Ctrl + B, x (then hit 'y' for yes)Click to copy
Installation of latest tmux command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.




