Getting Started
Install
cargo install nd-cliCheck the install:
nd-cli --versionConfigure Your Shell
Add the nd shell wrapper so your shell can cd after nd-cli exits.
zsh
echo 'eval "$(nd-cli init zsh)"' >> ~/.zshrc
source ~/.zshrcbash
echo 'eval "$(nd-cli init bash)"' >> ~/.bashrc
source ~/.bashrcfish
echo 'nd-cli init fish | source' >> ~/.config/fish/config.fish
source ~/.config/fish/config.fishpowershell
Add-Content -Path $PROFILE -Value 'Invoke-Expression (& nd-cli init powershell)'
. $PROFILERun Your First Session
ndSelect a directory by number, use b to go up one level, and q to quit.
Quick Tips
- Use
nd --show-hiddento include dot-directories. - Use
nd --start-dir <PATH>to begin in a specific location. - Use
nd --no-color(or setNO_COLOR) to disable color output.