Workspace Manager1.xCLI Manual

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

Evaluate in a workspace

tmuxp 1.74.0 · Source

Open a Python shell with tmux objects available, or pass -c to evaluate a Python expression and exit.

After the installation walkthrough creates its dedicated server:

Terminal window
$ tmuxp shell \
-L workspace-guide \
-c 'print(server.sessions)'

Optional session and window arguments select a narrower context. --best chooses an available backend; explicit backends such as --ipython need their packages installed in the same Python environment.

--use-pythonrc and --no-startup control startup loading. The last occurrence wins. --use-vi-mode and --no-vi-mode follow the same ordering rule.

Command source.

Esc

Type to search.

Reference previewOpen reference