Skip to content
💻 tmux session manager. built on libtmux
Python Makefile
Branch: master
Clone or download

Latest commit

dependabot-preview and tony Bump sphinx from 2.4.3 to 2.4.4
Bumps [sphinx]( from 2.4.3 to 2.4.4.
- [Release notes](
- [Changelog](
- [Commits](sphinx-doc/sphinx@v2.4.3...v2.4.4)

Signed-off-by: dependabot-preview[bot] <>
Latest commit 5590861 Mar 6, 2020


Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update Feb 20, 2019
doc flake8: Fix bare except in try/catch Dec 24, 2019
examples Add documentation and example configurations for options_after Apr 24, 2017
manual Append .txt to manual files May 23, 2015
requirements Loosen dev dependencies (flake8, isort, twine) Dec 24, 2019
tests Fix small typo: mimicing -> mimicking Dec 23, 2019
tmuxp 📦 Pin tmuxp v1.5.4 Nov 7, 2019
.coveragerc update codecov to new example format Mar 3, 2018
.gitignore Add .vscode to .gitignore file. Oct 4, 2018
.gitmodules Remove old rtd theme. Use pyramid theme on local builds. Default on r… Nov 5, 2013
.tmuxp.json update .tmuxp.json file Mar 4, 2018
.tmuxp.yaml convert to Pipfile Oct 19, 2017
.travis.yml travis: finish_fast Dec 26, 2019
CHANGES Updates to CHANGES Dec 23, 2019 Add code of conduct file. Oct 19, 2018 Fix a few typos. Oct 19, 2018
LICENSE Make copyright year perpetual Jan 26, 2019
Makefile fixed entr_warn Nov 15, 2019
Pipfile Pipfile: Add codecov to dev dependencies Dec 24, 2019
Pipfile.lock Bump sphinx from 2.4.3 to 2.4.4 Mar 7, 2020
README.rst README: Update python versions Dec 23, 2019
setup.cfg Bump line-length 100 -> 88 Aug 25, 2018 Remove outdated test invocation for pytest Dec 24, 2019
tox.ini drop python 2.6 support Apr 28, 2017


tmuxp, tmux session manager. built on libtmux.

Python Package Documentation Status Build Status Code Coverage License

We need help! tmuxp is a trusted session manager for tmux. If you could lend your time to helping answer issues and QA pull requests, please do! See issue #290!

New to tmux? The Tao of tmux is available on Leanpub and Amazon Kindle. Read and browse the book for free on the web.


$ pip install --user tmuxp

Load a tmux session

Load tmux sessions via json and YAML, tmuxinator and teamocil style.

session_name: 4-pane-split
- window_name: dev window
  layout: tiled
    - cd ~/                    # run as a first command in all panes
    - shell_command:           # pane no. 1
        - cd /var/log          # run multiple commands in this pane
        - ls -al | grep \.log
    - echo second pane         # pane no. 2
    - echo third pane          # pane no. 3
    - echo forth pane          # pane no. 4

Save as mysession.yaml, and load:

$ tmuxp load ./mysession.yaml

Sessions in ~/.tmuxp/ can use names:

$ tmuxp load mysession

Projects with .tmuxp.yaml or .tmuxp.json load via directory:

$ tmuxp load path/to/my/project/

Load multiple at once (in bg, offer to attach last):

$ tmuxp load mysession ./another/project/

simple and very elaborate config examples

Store configs in (~/.tmuxp) or include in your project as ~/.tmuxp.{yaml,json}. See author's tmuxp configs and the the projects' tmuxp.yaml.

Run custom startup scripts (such as installing project dependencies before loading tmux. See the and before_script example

You can also load sessions in the background by passing -d flag

Freeze a tmux session

Snapshot your tmux layout, pane paths, and window/session names.

$ tmuxp freeze session-name

See more about freezing tmux sessions.

Docs / Reading material

See the Quickstart.

Documentation homepage (also in 中文)

Want to learn more about tmux itself? Read The Tao of Tmux online.


Your donations fund development of new features, testing and support. Your money will go directly to maintenance and development of the project. If you are an individual, feel free to give whatever feels right for the value you get out of the project.

See donation options at

Project details

tmux support 1.8, 1.9a, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7. 2.8
python support 2.7, >= 3.5, pypy, pypy3
config support yaml, json, python dict
Test Coverage
Open Hub
License MIT.
git repo
$ git clone
install stable
$ pip install --user tmuxp
install dev
$ git clone tmuxp
$ cd ./tmuxp
$ virtualenv .venv
$ source .venv/bin/activate
$ pip install -e .

See the developing and testing page in the docs for more.

$ make test
You can’t perform that action at this time.