noodlbox

CLI Reference

Complete reference for the noodl command-line interface

The noodl CLI provides commands for analyzing repositories, managing configurations, and interacting with the noodlbox platform.

Repository Names

Repository names use the owner/repo format. Most commands also accept a path and will resolve to the repository automatically.

# By path (recommended)
noodl search "authentication flow"           # Uses current directory
noodl search "query" /path/to/repo           # Explicit path

# By name
noodl search "query" owner/my-repo           # Reference by name
noodl delete owner/my-repo                   # Delete by name

Core Commands

Commands for analyzing and querying your codebase.

noodl analyze

Analyze a repository and build its knowledge graph.

noodl analyze [OPTIONS] <PATH>

Arguments:

ArgumentDescription
<PATH>Path to the repository to analyze

Options:

FlagDescription
--forceRe-analyze ignoring cached results
--docs <BOOL>Enable markdown documentation analysis (default: false)

Examples:

noodl analyze .                    # Current directory
noodl analyze /path/to/repo        # Absolute path
noodl analyze --force .            # Re-analyze from scratch
noodl analyze --docs true .        # Include markdown docs

noodl list

List all analyzed repositories.

noodl list

noodl delete

Delete analyzed repositories from noodlbox.

noodl delete [OPTIONS] [REPOSITORIES]...

Arguments:

ArgumentDescription
[REPOSITORIES]...Repository names or paths to delete

Options:

FlagDescription
-y, --yesSkip confirmation prompts

Examples:

noodl delete owner/my-repo              # Delete one repository
noodl delete owner/repo1 owner/repo2    # Delete multiple
noodl delete -y owner/my-repo           # Skip confirmation

noodl schema

Display the knowledge graph schema (node types, relationships, properties).

noodl schema

Used by AI agents to understand the graph structure for queries.

Search for code using natural language.

noodl search [OPTIONS] <QUERY> [REPOSITORY]

Arguments:

ArgumentDescription
<QUERY>Search query (required)
[REPOSITORY]Repository name or path (defaults to current directory)

Options:

FlagDescription
--limit <N>Maximum number of processes to return
--max-symbols <N>Maximum symbols per process
--include-contentInclude full symbol content in output
-f, --format <FORMAT>Output format: toon (default) or json

Examples:

noodl search "authentication flow"                    # Search current dir
noodl search "database queries" /path/to/repo         # Search specific repo
noodl search "API handlers" --limit 5                 # Limit results
noodl search "auth" --format json                     # JSON output
noodl search "login" --include-content                # Include full code

noodl search-docs

Search documentation (markdown files, READMEs) using vector, keyword, or hybrid search.

noodl search-docs [OPTIONS] <QUERY> [REPOSITORY]

Arguments:

ArgumentDescription
<QUERY>Search query (required)
[REPOSITORY]Repository name or path (defaults to current directory)

Options:

FlagDescription
--mode <MODE>Search mode: vector (semantic), fts (keyword), or hybrid (default)
--limit <N>Maximum number of documents to return
-f, --format <FORMAT>Output format: toon (default) or json

Examples:

# Hybrid search (default - combines semantic + keyword)
noodl search-docs "authentication guide"

# Semantic search only
noodl search-docs "API usage" --mode vector

# Keyword search only
noodl search-docs "README" --mode fts

# With options
noodl search-docs "setup" --limit 10 --format json

noodl query

Execute a Cypher query against the knowledge graph.

noodl query [OPTIONS] <CYPHER> [REPOSITORY]

Arguments:

ArgumentDescription
<CYPHER>Cypher query (required)
[REPOSITORY]Repository name or path (defaults to current directory)

Options:

FlagDescription
--limit <N>Maximum number of results
-f, --format <FORMAT>Output format: toon (default) or json

Examples:

noodl query "MATCH (s:CODE_SYMBOL) RETURN s.name LIMIT 10"
noodl query "MATCH (s:CODE_SYMBOL)-[:CALLS]->(t) RETURN s.name, t.name" --limit 20
noodl query "MATCH (c:COMMUNITY) RETURN c" --format json

Account Commands

Commands for authentication and account status.

noodl auth

Authenticate with noodlbox (opens browser).

noodl auth

noodl status

Check authentication and connection status.

noodl status

Setup Commands

Commands for first-time setup and reset.

noodl init

First-time setup for noodlbox. This is the recommended starting point.

noodl init [OPTIONS]

This command:

  • Creates required directories (~/.noodlbox/state, ~/.noodlbox/repositories)
  • Authenticates with noodlbox (opens browser)
  • Configures MCP for your agents (Claude Code, Cursor, Codex, OpenCode)

Options:

FlagDescription
-y, --yesSkip prompts, use defaults

Examples:

noodl init                         # Interactive first-time setup
noodl init -y                      # Non-interactive mode (used by installer)

Note: The installer runs noodl init -y automatically. To start fresh, use noodl reset.

noodl reset

Wipe all noodlbox data and re-run first-time setup.

noodl reset [OPTIONS]

This command:

  • Removes ~/.noodlbox directory (all data, config, repositories)
  • Re-runs noodl init for fresh setup

Options:

FlagDescription
-f, --forceSkip confirmation prompt

Examples:

noodl reset                        # Interactive (asks for confirmation)
noodl reset -f                     # Skip confirmation

Agent Integration Commands

Commands for configuring AI agent integrations.

noodl configure

Configure AI agents (Claude Code, Cursor, Codex, OpenCode) globally.

noodl configure [OPTIONS]

Configuration is stored in ~/.noodlbox/config.toml and applies to all repositories.

Options:

FlagDescription
-y, --yesSkip prompts, use defaults
--forceReconfigure even if already configured

Examples:

noodl configure                    # Configure agents
noodl configure -y                 # Non-interactive mode
noodl configure --force            # Force reconfigure

noodl mcp

Start the MCP server (typically launched automatically by agents).

noodl mcp

Utility Commands

Commands for maintenance and troubleshooting.

noodl update

Update the noodl CLI and plugins to the latest version.

noodl update

noodl doctor

Diagnose installation issues and check system health.

noodl doctor [OPTIONS]

Options:

FlagDescription
-v, --verboseShow detailed information for each check
--fixApply automatic fixes when possible

Checks performed:

  • Installation integrity
  • Authentication validity
  • Security configuration
  • Network connectivity
  • MCP server configuration
  • Repository health

noodl docs

Open the noodlbox documentation in your browser.

noodl docs

noodl feedback

Submit feedback or report issues.

noodl feedback

noodl version

Display the installed noodl version.

noodl version

Global Options

These options work with all commands:

FlagDescription
-h, --helpShow help for any command
-V, --versionShow version information

On this page