Installation

Installing Byobu on most Linux distributions is incredibly easy. Open your terminal and execute the appropriate command for your distribution. Debian/Ubuntu/Linux Mint (and other Debian-based or Ubuntu-based distros): CentOS/Red Hat Linux/Fedora: ArchLinux: Gentoo:

Mac OS X

Installation on Mac OS X is almost as simple. The only requirement is that you have Homebrew installed. Homebrew is an unofficial package-manager for Mac OS X. It makes installing command-line utilities extremely easy. To install Homebrew, open your terminal by navigating to “Finder -> Utilities” and locating the terminal icon.

Paste the following command to begin the installation, and type your password when prompted. Once installation is complete, you are ready to install Byobu.

Get Sharing

Byobu’s default configuration options will let you share your screen directly after install. Once you have installed byobu, you can create a session instantly by typing byobu. Now open up a second terminal and do the same thing. You will instantly be dropped into the same byobu session as the first.

Obviously, connecting locally to a Byobu session on the same computer is fairly useless, but Byobu works remotely as well over SSH. If you are running a remote server, first connect to it over SSH like normal. Once again, type byobu. Repeat this process with as many people as you want. Instantly, they will attach to your Byobu session. Each of them will be able to view and control the session. Byobu remote connect to server from first client:

Byobu remote connect to server from second client:

Extra Features

Byobu has many additional features that can be accessed via keyboard shortcuts.

Create a new terminal session inside Byobu: f2 Switch between terminal sessions inside Byobu: f4 Detach from Byobu session and logout: f6 Split the Byobu screen vertically: control + f2 Split the Byobu screen horizontally: shift + f2 Launch the Byobu configuration menu: f9

From the configuration menu, you can change the display notifications at the bottom of the terminal as well as launch Byobu from the startup. More advanced users can also set an alternate escape sequence which by default is “Ctrl + A”. For more cool tips and tricks such as custom background colors, check out Ubuntu’s Byobu documentation.