Workspace ManagerCLI Manual

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Edit this page on GitHub

Capture a workspace

LibTmux.Workspace 0.0.0-alpha.20 · Source

Capture a running tmux session as a starting point for a workspace file. Capture reads live state. It cannot recover original command arguments, command history, script definitions or plugin intent.

Inspect a session

After the installation walkthrough creates workspace-guide, request a machine result from its private socket:

Terminal window
$ tmux-workspace freeze \
-S "$WORKSPACE_TMP/tmux.sock" \
--json \
workspace-guide

Save the captured document

Name the destination and format explicitly:

Terminal window
$ tmux-workspace freeze \
-S "$WORKSPACE_TMP/tmux.sock" \
--json \
--workspace-format yaml \
--save-to captured-workspace.yaml \
workspace-guide

Use a new destination, or pass --force to authorize replacement. Review captured commands and directories before loading the file on another machine. The saved document encoding is separate from the CLI result format selected by --json or --ndjson.

See export and reload for the complete workflow.

CLI source.

Esc

Type to search.