← 返回命令列表

Linux command

navi 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Browse

navi

Example

navi fn welcome

Print

navi --print

Example

navi widget [bash|zsh|fish]

Autoselect

navi -q '[query]' --best-match

Add

navi repo add [url]

说明

navi is an interactive cheatsheet tool for the command-line. It allows browsing through categorized command snippets with fuzzy search, variable substitution, and direct execution. Cheatsheets are stored as simple text files with a specific format. The tool integrates with shell keybindings (Ctrl+G by default) for quick access. Custom cheatsheets can be added locally or from community repositories.

参数

--print
Print selected command without executing
-q, --query _query_
Filter cheatsheets by query string
--best-match
Automatically select best matching snippet
--path _path_
Use specified path for cheatsheets
--fzf-overrides _opts_
Override fzf options

FAQ

What is the navi command used for?

navi is an interactive cheatsheet tool for the command-line. It allows browsing through categorized command snippets with fuzzy search, variable substitution, and direct execution. Cheatsheets are stored as simple text files with a specific format. The tool integrates with shell keybindings (Ctrl+G by default) for quick access. Custom cheatsheets can be added locally or from community repositories.

How do I run a basic navi example?

Run `navi` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --print do in navi?

Print selected command without executing