zsm
September 3, 2026 · View on GitHub
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
| Key | Action |
|---|---|
↑ ↓ | Navigate sessions |
space | Toggle selection |
ctrl+a | Select / deselect all |
enter | Attach to session, then return to zsm after detaching |
n | Create and attach to a new session |
e | Attach by replacing zsm (legacy behavior) |
k | Kill selected session(s) |
c | Copy attach command |
s | Cycle sort mode (name / clients / PID / memory / uptime) |
/ | Filter sessions |
[ ] | Scroll activity log |
q | Quit |
esc | Quit, or clear an active filter |
Contributors
See CONTRIBUTORS.md for the people who have contributed code, reports, testing, and feedback.