# Install mtm with Homebrew, apk, MacPorts, Nix

Micro terminal multiplexer. Version 1.2.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:mtm
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mtm
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mtm
```

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

### Linux

- apk (92%):

```sh
sudo apk add mtm
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#mtm
```

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

## Package facts

- **Package key:** brew:mtm
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mtm>
- **Version:** 1.2.1
- **Source summary:** Micro terminal multiplexer
- **Homepage:** <https://github.com/deadpixi/mtm>
- **Repository:** <https://github.com/deadpixi/mtm>
- **Upstream docs:** <https://github.com/deadpixi/mtm#readme>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/deadpixi/mtm/archive/refs/tags/1.2.1/1.2.1.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- mtm (cli)
- mtm (alias)

## Dependencies

- ncurses

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.2.1
- Local data: ok
- Upstream repository: https://github.com/deadpixi/mtm
- Upstream latest detected: 1.2.1/1.2.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

mtm, the Micro Terminal Multiplexer, is a deliberately tiny terminal multiplexer from the deadpixi/mtm project. Its README frames the project around four principles: few commands, broad compatibility through classic ANSI terminal emulation, a codebase of about one thousand lines, and a maintenance policy centered on bug fixes, translation/accessibility improvements, and keeping the program building on supported operating systems.

### Project history

The tool occupies the minimalist end of the same niche as GNU Screen and tmux. It starts virtual terminals inside one terminal, lets the user split the screen horizontally or vertically, move focus with a prefix key and arrows, close panes, redraw, and scroll. The project avoids requiring a custom terminfo entry by advertising a long-established screen-compatible terminal type by default, while also shipping optional mtm terminfo entries for users who want them.

### How it is used

Package-manager adoption reflects that niche: mtm is useful in constrained or preference-driven environments where a user wants pane splitting without sessions, scripting layers, or a large command language. Homebrew, Alpine, MacPorts, and Nix package it as a single mtm executable, so it functions mainly as a lightweight alternative for users who find larger multiplexers excessive.

### Sources

- <https://fedoramagazine.org/4-cool-terminal-multiplexers/>
- <https://formulae.brew.sh/formula/mtm>
- <https://github.com/deadpixi/mtm>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mtm
- **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

- Nix - mtm: normalized package name match | nixpkgs package indexes: pkgs/by-name/mt/mtm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - mtm - 1.2.1-r1: normalized package name match | Alpine Linux edge package indexes: mtm from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Perhaps the smallest useful terminal multiplexer in the world | https://github.com/deadpixi/mtm
- apk - mtm-doc - 1.2.1-r1: normalized package name match | Alpine Linux edge package indexes: mtm-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Perhaps the smallest useful terminal multiplexer in the world (documentation) | https://github.com/deadpixi/mtm
- MacPorts - mtm: normalized package name match | MacPorts ports tree: sysutils/mtm/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.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [ncurses](https://www.automicvault.com/pkg/brew/ncurses/) - Runtime dependency declared by Homebrew.
- [ov](https://www.automicvault.com/pkg/brew/ov/) - Shares av.db curated category or tags: cli, system, terminal, tui.
- [screen](https://www.automicvault.com/pkg/brew/screen/) - Shares av.db curated category or tags: cli, multiplexer, system, terminal.
- [abduco](https://www.automicvault.com/pkg/brew/abduco/) - Shares av.db curated category or tags: cli, system, terminal.
- [cmatrix](https://www.automicvault.com/pkg/brew/cmatrix/) - Shares av.db curated category or tags: cli, system, terminal.
- [cocot](https://www.automicvault.com/pkg/brew/cocot/) - Shares av.db curated category or tags: cli, system, terminal.
- [colortail](https://www.automicvault.com/pkg/brew/colortail/) - Shares av.db curated category or tags: cli, system, terminal.
- [dtach](https://www.automicvault.com/pkg/brew/dtach/) - Shares av.db curated category or tags: cli, system, terminal.
- [gtop](https://www.automicvault.com/pkg/brew/gtop/) - Shares av.db curated category or tags: cli, system, terminal.
- [nemu](https://www.automicvault.com/pkg/brew/nemu/) - Local package facts share a topical domain. Shared terms: cli, ncurses, system, terminal, tui.
- [threemux](https://www.automicvault.com/pkg/brew/threemux/) - Local package facts share a topical domain. Shared terms: cli, multiplexer, system, terminal.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
