Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here


tmux source code

Subscribe to updates I use tmux

Statistics on tmux

Number of watchers on Github 18394
Number of open issues 11
Average time to close an issue 1 day
Main language C
Open pull requests 18+
Closed pull requests 238+
Last commit 3 months ago
Repo Created over 5 years ago
Repo Last Updated 3 months ago
Size 13.3 MB
Organization / Authortmux
Latest Release3.1b
Page Updated
Do you use tmux? Leave a review!
View open issues (11)
View tmux activity
View on github
Book a Mock Interview With Me (Silicon Valley Engineering Leader, 100s of interviews conducted)
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating tmux for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Welcome to tmux!

tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.

This release runs on OpenBSD, FreeBSD, NetBSD, Linux, OS X and Solaris.


tmux depends on libevent 2.x, available from this page.

It also depends on ncurses, available from this page.


From release tarball

To build and install tmux from a release tarball, use:

./configure && make
sudo make install

tmux can use the utempter library to update utmp(5), if it is installed - run configure with --enable-utempter to enable this.

From version control

To get and build the latest from version control - note that this requires autoconf, automake and pkg-config:

git clone https://github.com/tmux/tmux.git
cd tmux
sh autogen.sh
./configure && make


Bug reports, feature suggestions and especially code contributions are most welcome. Please send by email to:


Or open a GitHub issue or pull request. Please read this document before opening an issue.

There is a list of suggestions for contributions. Please feel free to ask on the mailing list if you're thinking of working on something or need further information.


For documentation on using tmux, see the tmux.1 manpage. View it from the source tree with:

nroff -mdoc tmux.1|less

A small example configuration is in example_tmux.conf.

And a bash(1) completion file at:


For debugging, run tmux with -v or -vv to generate server and client log files in the current directory.


The tmux mailing list for general discussion and bug reports is:


Subscribe by sending an email to:


tmux open issues Ask a question     (View All Issues)
  • almost 4 years issues displaying 'ⓔ'
  • almost 4 years "Not in a mode" regression when using mouse wheel
  • almost 4 years Ambiguous console cursor position
  • almost 4 years tmux ignores printing escape
tmux open pull requests (View All Pulls)
  • Added support for two (top and bottom) status bars...
  • Incremental search and highlighting of text matching search
  • Incremental search
  • Don't require space after ;
  • for 'choose-tree' add windows sorting by activity time
  • Double- and triple-click selection of whole words and lines
  • Add next-paragraph and previous-paragraph commands
  • Change session directory
  • True colour to xterm256 conversion: significant speed up
  • Don't pull lines out of history when pane size increases.
  • Add full-size window split feature
  • Default key binding for RectangleToggle: v -> Ctrl-v
  • Do not use placeholders for job output
  • Support multiplexing SSH-agent sessions
  • Remove lineflag as it seems to be broken and nobody uses it.
  • Add OSC 11 support for changing background color
  • Add C-g key to exit tree mode.
  • fix: don't clear window_bell_flag in active window of detached sessions
tmux questions on Stackoverflow (View All Questions)
  • Running the same command on several ssh servers using tmux
  • TMUX: how to make new window stay when start shell-command quits?
  • How to terminate a window in tmux?
  • How to create a layout and run commands in at tmux launch?
  • Create a session in the background if it doesn't exist but do not attach in tmux
  • How to kill Gunicorn processes / workers which were spawned from tmux shell when no tmux session exists?
  • tmux conf file not being picked up in Mac
  • Tmux: Switch the split style of two adjacent panes
  • Tmux: how to restore layout after changing it with select-layout or next-layout?
  • Enabling Ctrl-s in item2, tmux and vim
  • Fullscreen TMUX sessions selection
  • tmux using 1G RAM even after clearing all scrollback history
  • Getting back old copy paste behaviour in tmux, with mouse
  • How to run a python script at a certaine time in a tmux terminal?
  • Tmux - ambiguous option: mouse error
  • tmux: select pane by a letter after `prefix q`, instead of a number
  • How to prevent tmux from opening new windows or panes on the head node of a cluster
  • Deploying Meteor app via Meteor Up or tmux meteor
  • Minecraft server has prompt issues with tmux on cygwin
  • Copying in tmux by double clicking without using SHIFT key
  • Create new tmux session from inside a tmux session
  • How can I clear scrollback buffer in Tmux?
  • Why am I getting a "failed to connect to server" message from tmux when I try to list sessions?
  • How to auto-update SSH agent environment variables when attaching to existing tmux sessions
  • Tmux-powerline status-interval make flicker
  • Why less command in tmux show output not on beginning?
  • tmux script not creating 5th pane
  • tmux window_name(#W) shows long path in windows-status-format
  • lose vim colorscheme in tmux mode
  • How can I set tmux vi-mode highlight color
tmux list of languages used
tmux latest release notes
3.2-rc tmux 3.2-rc

This is the first 3.2 release candidate

For a list of changes please read the CHANGES file

3.1b tmux 3.1b

This is a bug fix release of 3.1

For a list of changes please read the CHANGES file

3.1a tmux 3.1a

This is a bug fix release of 3.1

For a list of changes please read the CHANGES file

Other projects in C
Powered by Autocode - Instant Webhooks, Scripts and APIs
Autocode logo wordmark