--- id: tmuxp version: "1.74.0" license: MIT license_treatment: permissive maintenance: active --- # tmuxp — Session manager for tmux, which allows users to save and load tmux sessions through simple configuration files. License: permissive · Maintenance: active · Downloads: 136.6K/mo ## What it is and what it does tmuxp is a command-line session manager for tmux that lets you define terminal workspaces in YAML or JSON files and load them reproducibly. Instead of manually creating windows, panes, and running commands each time, you write a configuration file once describing your layout, shell commands, and working directories, then restore the entire session with a single command. It wraps the libtmux library and supports multiple configuration formats, including tmuxinator and teamocil styles. The tool is useful for developers who work with consistent terminal setups—development environments, monitoring dashboards, or multi-service local testing rigs. It also includes utilities to freeze (snapshot) running sessions, convert between YAML and JSON formats, and a Python shell for interactive tmux manipulation. You can load sessions in the background, run pre-load hooks for setup scripts, and organize configs in standard directories like ~/.config/tmuxp/. Use it for: - Restore a multi-window development environment (editor, build, logs, tests) with one command after restarting. - Define and share a standard tmux layout for a project so all team members start with the same pane setup. - Automate local infrastructure testing by loading sessions with panes running different services in parallel. - Snapshot a running tmux session's layout and pane commands, then replay it later or in a different context. - Bootstrap a project workspace by combining session loading with pre-load hooks that install dependencies. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. tmuxp saves and loads tmux sessions from YAML or JSON configuration files, letting you define multi-window, multi-pane terminal layouts declaratively and restore them on demand. Yes. tmuxp is actively maintained, has no known vulnerabilities, low install friction, and solves a real problem for anyone using tmux regularly. The MIT license is permissive. Install it if you find yourself recreating the same tmux layouts repeatedly or want to version-control your terminal workspace configuration. ## Install pip install tmuxp uv add tmuxp poetry add tmuxp ## Installing tmuxp Before you install: Low install friction; pure Python wheel with only two runtime dependencies (libtmux and pyyaml). Actively maintained with a recent release and no known vulnerabilities. License in practice: MIT license is permissive; you can use, modify, and distribute tmuxp with minimal restrictions, making it suitable for both personal and commercial projects. Quickstart: pip install tmuxp # Create mysession.yaml with your tmux layout, then: tmuxp load ./mysession.yaml # Or load from user config directory: tmuxp load mysession Requires tmux 3.2+ to be installed on your system; tmuxp is a Python wrapper around tmux, not a replacement for it. Verify before relying: - Whether the plugin system is documented well enough for typical extension use cases. - Performance characteristics when loading sessions with many panes or complex shell commands. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 136.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags tmux session manager, save and load tmux sessions, terminal session configuration, tmux layout automation, declarative tmux setup, tmux session persistence, terminal workspace snapshots, terminal-automation, tmux-wrapper, session-management [View on SkillFed](https://skillfed.io/packages/tmuxp) · [View on PyPI](https://pypi.org/project/tmuxp/)