Skip to content

CLI Overview

The NestWeaver CLI is the primary interface for indexing codebases, querying the knowledge graph, and managing brain vaults. All commands route through a background daemon by default, enabling concurrent access from multiple AI tools without lock contention. The daemon auto-starts on first use and exits after 1 hour of inactivity.

These flags work on every command.

FlagShortDescription
--statsPrint timing and statistics after operations
--quiet-qSuppress non-essential output
--verbose-vShow additional detail (e.g. UIDs)
--no-colorDisable colored output
--plainAlias for --no-color
--no-embedDisable semantic embedding for this invocation
--db <path>Path to the database file (env: NESTWEAVER_DB, default: ./nestweaver.lbug)
CodeMeaning
0Success
1Error
2Not found
3Ambiguous (multiple matches)
4Unauthorized
5Unavailable

All commands support --json for machine-readable output. Human-readable table output is the default when stdout is a terminal.

Terminal window
nestweaver --help

List all available commands. For details on any specific command:

Terminal window
nestweaver <command> --help