zsm

September 3, 2026 · View on GitHub

zsm

TUI session manager for zmx

zsm screenshot

Install

Homebrew

brew install mdsakalu/tap/zsm

Go

go install github.com/mdsakalu/zmx-session-manager@latest

Nix

Run directly from the flake:

nix run github:mdsakalu/zmx-session-manager

Or install it into your profile:

nix profile install github:mdsakalu/zmx-session-manager

Open a development shell with the Go toolchain and project linters:

nix develop github:mdsakalu/zmx-session-manager

Requirements

zmx must be installed and available in your PATH. zsm is tested with zmx 0.7.0 and retains compatibility with the legacy session_name/started_in list format.

Key Bindings

KeyAction
Navigate sessions
spaceToggle selection
ctrl+aSelect / deselect all
enterAttach to session, then return to zsm after detaching
nCreate and attach to a new session
eAttach by replacing zsm (legacy behavior)
kKill selected session(s)
cCopy attach command
sCycle sort mode (name / clients / PID / memory / uptime)
/Filter sessions
[ ]Scroll activity log
qQuit
escQuit, or clear an active filter

Contributors

See CONTRIBUTORS.md for the people who have contributed code, reports, testing, and feedback.

License

MIT