cheznav

June 9, 2026 ยท View on GitHub

cheznav

opentrend.dev reach PyPI - Version AUR - Version Homebrew PyPI - License GitHub Repo stars

Terminal Trove Tool of The Week

A TUI for chezmoi.

Dual-pane layout: local home directory on the left, chezmoi-managed files on the right. Cross-tree highlighting keeps selection in sync between panes.

Screenshot

Add, apply, diff, edit, forget, destroy, chattr, ignore โ€” through context menus or direct keyboard shortcuts. Side-by-side diffs with accept left/right.

Supports encrypted files, templates, executables, symlinks, directories, externals, chezmoi config files, run scripts, and dry-run mode.

Install

pipx install cheznav

# or with Homebrew
brew install djetelina/tap/cheznav

# or from AUR
yay -S cheznav

Usage

cheznav            # normal
cheznav --dry-run  # pass -n to all chezmoi calls
cheznav --chezmoi-config ~/.config/chezmoi/work.toml  # use custom chezmoi config file
Controls
KeyAction
Left / RightSwitch panes
Up / DownMove within tree
SpaceExpand / collapse directory
EnterContext menu (files), expand + context menu (directories)
:Command palette
?Help
qQuit
TabCycle focusable elements

Direct shortcuts (no menu needed)

KeyLocal paneManaged paneDiff view
aAdd / Re-addApplyAccept left (keep disk)
eEdit localEdit source
dView diffView diff
iIgnoreIgnore
xForgetForget
rAccept right (use chezmoi)
vView fileView file
Development
just init    # install pre-commit hooks + sync deps
just test    # run tests
just run     # run cheznav
just check   # run pre-commit on all files