All smolbren output is single-line JSON written to stdout. Pipe to
jq for
human-readable formatting: smolbren search "rust async" | jq.1
Install
Install the pre-built binary with Homebrew. You do not need Rust or a compiler.Confirm the binary is available:
2
Register your vault
Tell smolbren where your Markdown files live by registering the directory as a named vault. The You’ll get a JSON confirmation:List all registered vaults at any time:
--default flag makes it the vault used by all subsequent commands. If this is the first vault you register it becomes the default automatically.3
Build the index
Index your vault. The first run scans every smolbren prints an
.md file; subsequent runs are incremental — smolbren compares modification times, file sizes, and content hashes to skip unchanged files.IndexStats object when it finishes:To rebuild the index from scratch (e.g. after bulk renames):
4
Search and query
Full-text search with BM25 — results are ranked by relevance score:Narrow results to a specific note type with Graph queries with Cypher — traverse typed relationships between notes:Follow edges between node types:Fetch outgoing and incoming links for a specific note:Inspect the discovered ontology — all node types and edge types with counts:
--type:Next steps
Installation
Homebrew, release archive, update, and source-build instructions.
CLI Reference
Every subcommand, flag, exit code, and JSON output shape documented in detail.