Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

tmux

> 编程语言
Open source

tmux source code

48.2K stars0 likes2 views
WebsiteGitHub

About

tmux source code

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, macOS and Solaris.

Dependencies

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

It also depends on ncurses, available from this page.

To build tmux, a C compiler (for example gcc or clang), make, pkg-config and a suitable yacc (yacc or bison) are needed.

Installation

Binary packages

Some platforms provide binary packages for tmux, although these are sometimes out of date. Examples are listed on this page.

From release tarball

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

bash
./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.

For more detailed instructions on building and installing tmux, see this page.

From version control

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

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

Contributing

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

[email protected]

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.

Documentation

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

bash
nroff -mdoc tmux.1|less

A small example configuration is in example_tmux.conf.

And a bash(1) completion file at:

https://github.com/scop/bash-completion/blob/main/completions-core/tmux.bash

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

Support

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

https://groups.google.com/forum/#!forum/tmux-users

Subscribe by sending an email to:

[email protected]

Issues· 37 open

View all issuesOpen on GitHub
  • #5135

    Floating panes discussion

    Updated Sep 29, 2026
  • #5653

    OSC 52 set-selection from a pane is dropped when PANE_REDRAW is pending (breaks clipboard for apps using DECSET 2026)

    Updated Sep 28, 2026
  • #5579

    Feature request: capture/restore per-line times (grid_line.time) for session persistence

    Updated Sep 28, 2026
  • #5417

    commands to do stuff with osc133 marked up output

    Updated Sep 24, 2026
  • #5219

    Layouts rework

    Updated Sep 23, 2026
  • #5595

    [FEAT] Support for the Kitty drag-and-drop protocol (OSC 72)

    Updated Sep 22, 2026
  • #5609

    feature: allow `default-command` to be a window-level option

    Updated Sep 22, 2026
  • #5179

    3.7c questions and comments

    Updated Sep 22, 2026
  • #5406

    3.8 & 3.9 Roadmap

    Updated Sep 21, 2026
  • #5598

    [Feature request] Named Panes

    Updated Sep 21, 2026

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言