Workspace Manager1.xGuides

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

Edit this page on GitHub

Install and load a workspace

tmuxp 1.74.0 · Source

The runnable terminal loader is the separate Python application tmuxp. It needs Python 3.10 or newer and, through its libtmux dependency, tmux 3.2a or newer. Install it in an isolated tool environment with uv:

Terminal window
$ uv tool install tmuxp

The tool environment owns tmuxp’s Python dependencies, including libtmux.

Create the input

Save this file as workspace.yaml in a writable directory:

session_name: workspace-guide
windows:
- window_name: editor
layout: even-horizontal
panes:
- echo ready
- echo second

Load the session detached. Reserve the socket name for this walkthrough:

Terminal window
$ tmuxp load \
-L workspace-guide \
-d \
workspace.yaml

Inspect the two panes:

Terminal window
$ tmux -L workspace-guide list-panes -t '=workspace-guide:editor'

Attach when ready:

Terminal window
$ tmux -L workspace-guide attach-session -t '=workspace-guide'

Detach with your configured tmux detach binding. Before cleanup, optionally try export and reload. Remove only this walkthrough’s session when finished:

Terminal window
$ tmux -L workspace-guide kill-session -t '=workspace-guide'

Continue

Discovery explains project files and saved names. Configuration describes accepted fields, and load documents all flags. tmuxp reference source.

Esc

Type to search.

Reference previewOpen reference