Get AI-ready code context in 5 minutes.
Updated for the March 2026 CLI surface.
For reproducible environments (CI/team onboarding), prefer pinning a release tag in your install command.
No-build install (recommended):
curl -fsSL https://raw.githubusercontent.com/Anandb71/arbor/main/scripts/install.sh | bashWindows PowerShell:
irm https://raw.githubusercontent.com/Anandb71/arbor/main/scripts/install.ps1 | iexCargo alternative:
cargo install arbor-graph-cliNote: The GUI is included in the binary. Run
arbor guiafter installation. Need version pinning/manual assets? See INSTALL.md.
cd your-project
arbor initThis creates .arbor/ with default configuration.
Prefer a one-shot start? Use
arbor setupto initialize and index in a single command.
arbor indexParses your codebase and builds a relationship graph. Subsequent runs use caching for faster updates.
# Fast refresh during active refactors
arbor index --changed-onlyIf
.arbor/doesn't exist, Arbor now auto-creates it on first index/query/refactor/explain.
# Show project stats
arbor status
# List all indexed files
arbor status --files
# Search for a symbol
arbor query parse_file
# Search in a different path
arbor query parse_file ../another-project
# Get refactoring context
arbor refactor UserService
# Explain a function's dependencies
arbor explain validate_input
# Preview impact for current git diff
arbor diff
# CI safety gate (fails on risky blast radius)
arbor check --max-blast-radius 30
# Machine-readable output for CI bots
arbor check --json --max-blast-radius 30
# Jump directly to a symbol in your editor
arbor open parse_filearbor guiOpens the native graphical interface for impact analysis:
- Enter a symbol name
- Click "Analyze" to see callers, dependencies, and confidence
- File paths are hidden by default for privacy (click to reveal)
- Copy results as Markdown for PRs
Auto-refresh the index when files change:
arbor watchGreat for development workflows where you want continuous indexing.
arbor pr-summary parse_file,validate_inputGenerates a Markdown summary of impact for multiple changed symbols.
- Add to
.cursor/mcp.json:
{
"mcpServers": {
"arbor": {
"command": "arbor",
"args": ["bridge"]
}
}
}-
Restart Cursor.
-
Ask questions like:
- "What depends on
UserService?" - "What does
parse_filecall?" - "Show me the context for refactoring
validate"
- "What depends on
| Flag | Description |
|---|---|
--no-cache |
Force full re-index (skip cache) |
--follow-symlinks |
Include symlinked directories |
--files |
Show detailed file stats in status |
--depth N |
Set impact analysis depth (default: 5) |
--why |
Show detailed reasoning for each affected node |
--json |
Output as JSON instead of formatted text |
arbor doctorRuns environment diagnostics (ports, workspace layout, visualizer and extension presence).
# after pulling changes
arbor index --changed-only
# before opening a PR
arbor diff
arbor check --max-blast-radius 30If arbor check fails, run focused tests before merge and include blast-radius notes in your PR description.
