Usage#
nux doctorDescription#
Runs a diagnostic suite for your nux and tmux environment. Each check is reported with [ok], [warn], [fail], or [missing].
Checks performed, in order:
- nux version - prints the running version, OS, and architecture
- tmux binary - verifies
tmuxis on PATH and prints its version - Global config - confirms the global config loaded successfully
- Zoxide binary - checked only when
zoxide: truein global config - Picker binary - checked only when a picker is configured (fzf, gum)
- Config directory - verifies
~/.config/nux/projects/exists - Projects directory - verifies each configured
project_dirspath exists - Project configs - validates every project YAML file
If any check fails, doctor exits with a non-zero status and prints “some checks failed.”
Example output#
nux 0.5.0 (darwin/arm64)
[ok] tmux (/opt/homebrew/bin/tmux)
tmux 3.5
[ok] global config
[ok] config directory (~/.config/nux/projects)
[ok] projects directory (~/projects)
[ok] 4 project config(s)
[ok] all configs valid
All checks passed.Notes#
- Run
doctorafter installation, on a new machine, or when something behaves unexpectedly. - If the global config file is missing or malformed,
doctorwill fail during setup before any checks run. Fix the config file first, then re-run. - Use the output when reporting bugs.