# Install tmux with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Terminal multiplexer. Version 3.7b via Homebrew; verified 2026-07-01.

## Install

```sh
sudo av install brew:tmux
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tmux
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tmux
```

  Evidence: MacPorts ports tree: sysutils/tmux/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add tmux
```

  Evidence: Alpine Linux edge package indexes: tmux from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install tmux
```

  Evidence: Debian stable package indexes: tmux from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install tmux
```

  Evidence: Fedora Rawhide package metadata: tmux from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#tmux
```

  Evidence: nixpkgs package indexes: pkgs/by-name/tm/tmux/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S tmux
```

  Evidence: Arch Linux sync databases: tmux from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install tmux
```

  Evidence: openSUSE Tumbleweed package metadata: tmux from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:tmux
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/tmux>
- **Version:** 3.7b
- **Source summary:** Terminal multiplexer
- **Homepage:** <https://tmux.github.io/>
- **Repository:** <https://github.com/tmux/tmux>
- **Upstream docs:** <https://github.com/tmux/tmux/wiki>
- **License:** ISC
- **Source archive:** <https://github.com/tmux/tmux/releases/download/3.7b/tmux-3.7b.tar.gz>
- **Last updated:** 2026-07-01T22:33:19Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- tmux (cli)
- tmux (alias)

## Dependencies

- libevent
- ncurses
- utf8proc

## Build dependencies

- pkgconf

## Install behavior

- Post-install hook: not defined
- Caveats: Example configuration has been installed to: $HOMEBREW_PREFIX/opt/tmux/share/tmux
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.7b
- Package-manager updated: 2026-07-01
- Local data: ok
- Upstream repository: https://github.com/tmux/tmux
- info: No cached GitHub release or tag data was available.
## Project history and usage

tmux is a terminal multiplexer: it lets users create, access, control, detach, and reattach multiple terminal sessions from one screen. It is one of the defining tools of modern command-line workflows, especially for developers, sysadmins, and package-manager users who keep reproducible terminal environments.

### Project history

Official OpenBSD documentation records tmux as started in 2007 by Nicholas Marriott, imported into OpenBSD on June 1, 2009, and first released with OpenBSD 4.6. The upstream CHANGES file records an initial CVS import on July 9, 2007, when detaching, reattaching, creating sessions, and listing sessions already worked well enough for shells, with status bar and customization still missing.

tmux's development model is unusual among popular developer tools: the tmux wiki states that OpenBSD CVS is the primary source repository and that GitHub carries the portable version, with a script applying OpenBSD commits to GitHub every few hours. This keeps tmux rooted in OpenBSD base-system practice while making it available as a portable package for other Unix-like systems.

### Adoption history

tmux grew from an OpenBSD base utility into a cross-platform terminal standard. The official README says current releases run on OpenBSD, FreeBSD, NetBSD, Linux, macOS, and Solaris, and the batch input records package names across apk, Homebrew, Debian, dnf, MacPorts, Nix, pacman, Ubuntu, and zypper.

By 2026, the GitHub repository and wiki showed a large public footprint, including tens of thousands of stars, a public issue tracker, a wiki, releases, and a tmux-users mailing list. The project remained volunteer-developed but widely relied on, with releases documented through GitHub release pages and the CHANGES file.

### How it is used

tmux is used to keep long-running terminal work alive across disconnects, split a terminal into windows and panes, switch between programs, script terminal layouts, and share or inspect sessions. Its configuration files, commonly /etc/tmux.conf and ~/.tmux.conf, are central to dotfiles culture.

In the package-nerd niche, tmux is also a platform for other packages. Several packages in this same batch, including tmux-mem-cpu-load, tmux-sessionizer, and tmux-xpanes, exist because tmux exposes stable session, pane, status-line, and command interfaces that small tools can compose with.

### Why package nerds care

tmux matters to package users because it is both an application and a substrate. It is packaged nearly everywhere, has a small and documented dependency stack, and creates an ecosystem where status monitors, pane launchers, session switchers, and dotfiles plugins can be distributed independently.

### Timeline

- 2007: Nicholas Marriott started tmux, according to OpenBSD's innovations page.
- 2007-07-09: Upstream CHANGES records the initial CVS import with sessions, detach, reattach, and shell use already working.
- 2009-06-01: tmux was imported into OpenBSD.
- 2009: tmux first shipped with OpenBSD 4.6.
- 2026: GitHub releases page listed tmux 3.7b as the latest bug-fix release.

### Related projects

- OpenBSD is the primary upstream home for tmux development.
- GNU screen is the older terminal-multiplexer tradition that tmux belongs beside, though tmux's official docs emphasize tmux's own client-server, sessions, windows, and panes model.
- tmux-mem-cpu-load, tmux-sessionizer, and tmux-xpanes are package-level examples of the tmux ecosystem.

### Sources

- <https://github.com/tmux/tmux>
- <https://github.com/tmux/tmux/blob/master/CHANGES>
- <https://github.com/tmux/tmux/wiki>
- <https://github.com/tmux/tmux/wiki/Contributing>
- <https://man.openbsd.org/tmux>
- <https://www.openbsd.org/innovations.html>
- input.json source_facts.package-manager


## Security Notes

No matching local secret-handling manifest was found for tmux. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/tmux.conf, ~/.tmux.conf
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tmux
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - tmux - 3.5a-3: normalized package name match | Debian stable package indexes: tmux from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | terminal multiplexer | https://github.com/tmux/tmux/wiki
- Nix - tmux: normalized package name match | nixpkgs package indexes: pkgs/by-name/tm/tmux/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - tmux - 3.4-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: tmux from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | terminal multiplexer | https://tmux.github.io/
- apk - tmux - 3.6b-r0: normalized package name match | Alpine Linux edge package indexes: tmux from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Tool to control multiple terminals from a single terminal | https://tmux.github.io
- apk - tmux-doc - 3.6b-r0: normalized package name match | Alpine Linux edge package indexes: tmux-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Tool to control multiple terminals from a single terminal (documentation) | https://tmux.github.io
- dnf - tmux - 3.6b-1.fc45: normalized package name match | Fedora Rawhide package metadata: tmux from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A terminal multiplexer | https://tmux.github.io/
- pacman - tmux - 3.6_b-2: normalized package name match | Arch Linux sync databases: tmux from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Terminal multiplexer | https://github.com/tmux/tmux/wiki
- zypper - tmux - 3.6b-1.1: normalized package name match | openSUSE Tumbleweed package metadata: tmux from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Terminal multiplexer | https://tmux.github.io/
- MacPorts - tmux: normalized package name match | MacPorts ports tree: sysutils/tmux/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://www.automicvault.com/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [libevent](https://www.automicvault.com/pkg/brew/libevent/) - Runtime dependency declared by Homebrew.
- [ncurses](https://www.automicvault.com/pkg/brew/ncurses/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [aoe](https://www.automicvault.com/pkg/brew/aoe/) - Popular package that depends on this formula.
- [byobu](https://www.automicvault.com/pkg/brew/byobu/) - Popular package that depends on this formula.
- [gascity](https://www.automicvault.com/pkg/brew/gascity/) - Popular package that depends on this formula.
- [gitmux](https://www.automicvault.com/pkg/brew/gitmux/) - Popular package that depends on this formula.
- [overmind](https://www.automicvault.com/pkg/brew/overmind/) - Popular package that depends on this formula.
- [tmex](https://www.automicvault.com/pkg/brew/tmex/) - Popular package that depends on this formula.
- [tmux-xpanes](https://www.automicvault.com/pkg/brew/tmux-xpanes/) - Popular package that depends on this formula.
- [tmuxai](https://www.automicvault.com/pkg/brew/tmuxai/) - Popular package that depends on this formula.
- [smug](https://www.automicvault.com/pkg/brew/smug/) - Shares av.db curated category or tags: cli, productivity, sessions, terminal.
- [cbonsai](https://www.automicvault.com/pkg/brew/cbonsai/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [eless](https://www.automicvault.com/pkg/brew/eless/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [nvimpager](https://www.automicvault.com/pkg/brew/nvimpager/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [page](https://www.automicvault.com/pkg/brew/page/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [sc-im](https://www.automicvault.com/pkg/brew/sc-im/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [sheets](https://www.automicvault.com/pkg/brew/sheets/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [tmux-sessionizer](https://www.automicvault.com/pkg/brew/tmux-sessionizer/) - Package names and metadata indicate a similar tool family. Shared terms: cli, productivity, sessions, terminal, tmux.

## Combined YAML source

View the package source record on GitHub. [combined/tmux.yml](https://github.com/automic-vault/db/blob/main/combined/tmux.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
