commands
full reference for all funes CLI commands.
funes start
Start the file watcher. Monitors all configured watch directories and automatically reindexes files as they change.
⚠ runs in the foreground in v1.0. daemon mode coming in v1.1.
funes stop
Stop the running daemon.
funes status
Show the current state of funes — indexed chunk count, database location, and watched directories.
funes add <path>
Manually index a file or directory. Recursively indexes all supported file types.
funes watch <path>
Add a directory to the watch list. funes will monitor it for changes when the daemon is running.
funes unwatch <path>
Remove a directory from the watch list.
funes query <question>
Search your indexed memory with natural language. Returns the top 5 most semantically relevant results.
funes query <question> --llm
Same as query but pipes the top results into a local LLM via Ollama for a synthesized plain English answer.
funes query <question> --json
Returns results as JSON. Useful for scripting and piping into other tools.
funes index-history
Index your shell history. Supports bash, zsh, fish, and PowerShell history files.
funes forget <pattern>
Add an exclusion rule. Files matching the pattern will never be indexed.
funes reindex
Wipe the entire index and reindex everything from scratch.
funes clear
Wipe the entire index without reindexing.
funes config
Show the path to the config file.