Inspect environment variables known to tmux.
Section: Debug and introspection
Show tmux environment
bash
bash
tmux show-environmentExplanation
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
Preserve selected environment variables
Update tmux with variables from the client environment.
Set a modern default terminal
Use a terminal definition with 256-color/feature support.