Inspect environment variables known to tmux.

Section: Debug and introspection

Show tmux environment

bash
bash
tmux show-environment
Explanation

Helpful when debugging PATH, SSH agent, or locale issues.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Debug and introspection
Show global options
Inspect current global configuration.
OpenIn sheetbashsame section
Show window options
Inspect per-window settings.
OpenIn sheetbashsame section
List key bindings
Dump the default and custom key tables.
OpenIn sheetbashsame section
Show server info
Print internal server details.
OpenIn sheetbashsame section
Preserve selected environment variables
Update tmux with variables from the client environment.
OpenIn sheettmux2 tag match
Set a modern default terminal
Use a terminal definition with 256-color/feature support.
OpenIn sheettmux1 tag match