MrTechKing

4 min read

tmux: Split Your Terminal and Keep Sessions Running (GitHub, Scanned)

A free terminal multiplexer: split one terminal into panes and windows, detach, and pick your sessions up later, even over SSH.

tmux logo
✅
Scan: safe. Nothing to warn about. No secrets, suspicious code or committed binaries, and tmux makes no network connections of its own. Scanned Nov 28, 2026; the full report is below.

tmux is a free program that runs inside your terminal and turns one window into many. Type tmux and you are in a session: press Ctrl+b then % or " to split the screen into side-by-side or stacked panes, Ctrl+b then c for a new window, and Ctrl+b then d to detach. Everything keeps running in the background, and tmux attach brings it back exactly as you left it.

It earns its place on servers above all: start a long job over SSH, lose the connection or close your laptop, and the job is still running when you log back in. Developers use it to keep an editor, a server and its logs on one screen, and everything is set in one text file, ~/.tmux.conf, with plugins and themes made by others. Version 3.8 added floating panes that sit above the others and can be dragged with the mouse.

tmux uses the ISC licence and is written in C. Nicholas Marriott started it in 2007 and still maintains it; it is part of OpenBSD, and this GitHub repo is the portable version for Linux, macOS and other systems. It has about 50,600 stars. Version 3.8 came out on 9 September 2026.

  • Repository: github.com/tmux/tmux
  • Licence: ISC (ISC License)
  • Language: C. Stars: 50.6K. Forks: 3,042. Last push: Nov 27, 2026.
  • Scan: safe, Nov 28, 2026, commit 3876d23

Who it is for

Developers, sysadmins and anyone who works on remote servers over SSH, plus people who like a keyboard-driven terminal layout. It runs on Linux, macOS and the BSDs; on Windows you use it inside WSL.

Getting started

1. Install on macOS with Homebrew

brew install tmux

2. Or on Ubuntu and Debian

sudo apt install tmux

3. Start a named session

tmux new -s work

4. Split side by side, split top and bottom, then detach (press Ctrl+b, let go, then the key)

Ctrl+b %
Ctrl+b "
Ctrl+b d

5. Come back to it later, even from a new SSH login

tmux attach -t work

Package managers install the tmux program and change nothing else; your settings go in ~/.tmux.conf, which you create yourself. Building from source needs libevent, ncurses and sudo make install. Plugin managers and themes are other people's code that this scan does not cover, and neither are the packages your system ships.

Safety scan

We cloned tmux/tmux at commit 3876d23 on Nov 28, 2026 and ran the checks described on the GitHub Tools page: credential patterns, decode-and-execute code, install-time scripts, committed binaries, risky CI workflows, every host the code talks to, known vulnerabilities in pinned dependencies, and project hygiene. A person read every hit. This is what we found.

  • 0 secret hits and no committed binaries across 895 files and about 178,000 lines: C for the program and shell scripts for its regression tests.
  • 0 pattern hits. The two scripts the scanner lists as installers, regress/run-shell-cwd.sh and regress/run-shell-output.sh, are regression tests for how tmux runs shell commands.
  • No install script. You get tmux from your system's package manager or Homebrew, or build a release with ./configure, make and sudo make install, as the README shows.
  • No package lockfile, so there were no dependency advisories to look up. tmux needs only libevent and ncurses, which come from your system and get their updates through it. The fuzz/ folder holds fuzzers for its command parser, copy mode, formats and messages, run through Google's OSS-Fuzz.
  • The code contacts no server; the hosts in it are documentation and download links. Sessions talk through a socket in a /tmp folder only your user can open. 2 workflows, both on a schedule: one locks old issues and one runs the regression tests with read-only permissions. No pull_request_target, and the one third-party action is pinned to a commit. A security policy is present; no Dependabot, since there are no package dependencies to update, and no CodeQL. OpenSSF Scorecard gives it 6.2 out of 10.

What the scanner counted

CheckResult
SecretsNone found.
Suspicious codeNone found.
Install-time code2 installer scripts
Committed binariesNone.
CI workflows2 workflows. None use pull_request_target. 0 of 1 third-party action pinned to a tag rather than a commit.
Network hosts6 distinct hosts referenced from source; most often github.com, ftp.gnu.org, gist.github.com, invisible-island.net. No URLs to bare IP addresses.
Known vulnerabilitiesNo lockfile to check: dependencies are declared as ranges, so what gets installed is whatever is current on the day.
Project hygieneHas security policy, licence file, contributing guide. Missing automated dependency updates, CodeQL.
OpenSSF Scorecard6.2 out of 10, as of Nov 23, 2026.

The raw findings

Every hit the scanner wrote out, with a link to the exact line at the scanned commit. Secrets candidates are redacted.

Installer scripts (2)

By the numbers

Stars50.6K
Forks3,042
Contributors57
Commits12.9K
Open issues14
Open pull requests15
Releases45
Latest release3.8
LicenceISC
Main languageC
Project age11 years
Last pushNov 27, 2026
Tracked files895
Lines of code177.8K
Checkout size9 MB

Lines by language: C 119.3K, Shell 49.9K, C/C++ header 7,031, Python 801, Markdown 533, YAML 231.

Questions

Is tmux free?

Yes. It is free and open source under the ISC licence, with no paid version and no account.

tmux or GNU Screen?

tmux for most people today: splitting panes is easier, the config is simpler and it is actively developed. Screen does the same basic job of detaching sessions and is still preinstalled on some older servers.

Does tmux work on Windows or Mac?

On a Mac, yes, through Homebrew or MacPorts. On Windows, install it inside WSL; there is no native Windows version.

Does tmux send my data anywhere?

No. It runs entirely on your machine and makes no network connections. Anything that leaves goes through SSH or the programs you start inside it.

How do I uninstall tmux?

Run brew uninstall tmux or sudo apt remove tmux, then delete ~/.tmux.conf and any ~/.tmux folder of plugins.


This post is part of GitHub Tools, where every repository is cloned and scanned before it is written up. The scan is a snapshot of one commit on one day; the repository has moved on since, so check it before you install.