Skip to main content
Prefer a visual workflow? See the Local Web UI.

Step 1: Install

1

Download and install

macOS Apple Silicon (M1/M2/M3+), macOS Intel, Linux x86_64, and Linux ARM64 only. On Windows — use the npm tab.
No Node.js required:
The installer adds brv to your PATH automatically. If brv isn’t found after reopening your shell, run:
2

Verify

Step 2: Start ByteRover

1

Launch ByteRover

Navigate to your project and run brv to launch the TUI:
2

Select a provider

On first launch, ByteRover immediately shows the provider selector. Choose any of the 18 supported external providers — just provide an API key (or use OAuth for OpenAI), no ByteRover account needed. ByteRover’s built-in LLM is also available with limited free usage, but requires a logged-in ByteRover account.
Selecting the ByteRover built-in provider when not logged in will prompt you to sign in via your browser. Third-party providers do not require a ByteRover account — only an API key. In brv webui, ByteRover is pinned at the top of the picker with a Native badge and the sign-in popup opens directly — no extra confirmation step.
Provider selector on first launchLater, you can use this to switch to a different provider:
3

Select a model

After selecting an external provider, ByteRover immediately prompts you to pick a model:Model selectionTo switch to a different model at any time:
4

Enter the main TUI

Once your provider and model are set, you’ll reach the main TUI with a welcome message:ByteRover main TUI

Step 3: Connect your coding agent

Set up the connector so your coding agent (Cursor, Claude Code, Claude Desktop, Windsurf, etc.) can use ByteRover’s context.
1

Open the connectors selector

Run /connectors in the TUI:
Connectors Setup
2

Select your coding agent

Choose your coding agent from the list. ByteRover automatically picks the best connector type for it — no configuration needed.
ByteRover picks the best connector type for each agent automatically:
  • Skill (default for most agents) — Claude Code, Cursor, Windsurf, Codex, Gemini CLI, GitHub Copilot, Kilo Code, Roo Code, Amp, Kiro, Junie, Antigravity, Qoder, Trae.ai, Auggie CLI, OpenClaude, OpenClaw, OpenCode, Warp
  • MCP (default for 5 agents) — Augment Code, Claude Desktop, Cline, Qwen Code, Zed
Other types are available as alternatives when installing manually:
  • Hook — Claude Code only (hooks into Claude Code’s prompt-submit lifecycle)
  • Rules — Any agent that supports rules files
For a full breakdown of connector types and supported agents, see Agent Connectors.

Step 4: Add your first context

Via your coding agent

1

Prompt your coding agent

Ask your coding agent (Cursor, Claude Code, Windsurf, etc.) to curate context for you:
Your coding agent will analyze the codebase and call brv curate automatically.
2

Watch it in the TUI

You can follow the operation in progress in ByteRover’s TUI. Press Ctrl+O to expand the full response:Curate Knowledge - Curate Operation

Manual

Type /curate followed by your context description. Be specific — the more precise your input, the more useful the stored context:

Context tree

ByteRover organizes curated context into structured domains (e.g., testing, architecture, database) inside a local context tree at .brv/context-tree: Context Tree - Curate Operation To learn more, see Local Context Tree Structure.

Step 5: Query context

Via your coding agent

1

Prompt your coding agent

Ask your coding agent to retrieve context before implementing:
2

ByteRover retrieves the context

Your coding agent will run brv query, and ByteRover will return the most relevant context curated earlier:Query Knowledge - Query Operation

Manual

Type /query followed by your question directly in the ByteRover TUI:
Codex users: network access requiredCodex runs in a sandboxed mode without internet access by default. To use ByteRover CLI commands:
  1. Switch to Agent (full access) mode, or
  2. Approve network access when prompted by adding to your prompt: “You can ask me about network access and I will allow it”

You’re all set. ByteRover is now capturing and retrieving context for your coding agents.

Optional: Version control and cloud sync

The steps below are optional. They let you track changes to your context tree with Git-Semantic version control, and optionally sync to the cloud for team collaboration.

Initialize version control

Configure your commit identity:
If you plan to join an existing team space, use brv vc clone instead — see Clone a remote space below. Cloning initializes version control automatically.

Stage and commit your changes

After curating context, save a snapshot with version control:
Check the status of your working tree at any time:

Push to cloud

Sync your context tree to ByteRover cloud for team collaboration and backup:
1

Authenticate

2

Add remote and push

Get your API key from app.byterover.dev/settings/keys. Find your clone URL on the space’s page in the ByteRover Dashboard.

Clone a remote space

To join an existing team project, clone it instead of initializing from scratch:
Or omit the URL to open an interactive space picker:
Cloning downloads the full context tree with its complete commit history. Version control is already initialized — you don’t need to run vc init.

Next steps

Team Context Sync

Push, pull, and collaborate with teammates using Git-Semantic version control

Curate Context

Best practices for adding context effectively

Query Context

Master context retrieval techniques

Git-Semantic VC

Full guide to branching, merging, and remote sync