How To Install Screen On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?
screen
Install screen
-
Debian
apt-get install screenClick to copy -
Ubuntu
apt-get install screenClick to copy -
Alpine OS
apk add screenClick to copy -
Arch Linux
pacman -S screenClick to copy -
Kali Linux
apt-get install screenClick to copy -
CentOS
yum install screenClick to copy -
Fedora
dnf install screenClick to copy -
Raspbian
apt-get install screenClick to copy -
macOS
brew install screenClick to copy
Hold a session open on a remote server. Manage multiple windows with a single SSH connection.
How to use screen?
Below are few example commands for screen that you can use in the terminal.
Start a new screen session:screenClick to copyStart a new named screen session:screen -S session_nameClick to copyStart a new daemon and log the output to screenlog.x:screen -dmLS session_name commandClick to copyShow open screen sessions:screen -lsClick to copyReattach to an open screen:screen -r session_nameClick to copyDetach from inside a screen:Ctrl + A, DClick to copyKill a detached screen:screen -X -S session_name quitClick to copy
To install the latest version of screen in your favorite operating system just copy the screen installation command from above and paste it into terminal. It will download and install the latest version of screen 2026 package in your OS.




