Use this file to discover all available pages before exploring further.
Most Bolt problems fall into a small number of categories. Work through the relevant accordion below, and check the log output with bolt logs whenever something unexpected happens.
For questions that aren’t answered here, search or start a discussion in the Bolt GitHub Discussions. Include the output of bolt debug info and bolt logs --tail 50 in your post so the community can help faster.
The bolt debug family of subcommands is your first stop for any mysterious behavior. Run bolt debug info for a one-shot system summary, bolt debug config to see the fully-resolved configuration, bolt debug paths to find where data is stored, and bolt debug snapshot to inspect session state.
Bolt doesn't start / crashes on launch
Symptoms: The terminal flashes and exits immediately, or you see a stack trace before the TUI renders.Steps:
1
Collect system information
bolt debug info
This prints your Bolt version, OS, terminal emulator, and loaded plugins. Copy this output when reporting a bug.
2
Check recent log output
bolt logs --tail 100
Look for ERROR lines. A common cause is a plugin that fails to load — in that case you’ll see an error mentioning the plugin name.
3
Disable plugins to isolate the issue
bolt --pure
If Bolt starts cleanly with --pure, a plugin is causing the crash. Remove the offending plugin from your config, or report it to the plugin author.
4
Check for corrupted config
bolt debug config
If this prints an error about invalid JSON, open the config file it mentions and fix the syntax. Run bolt db path to confirm the database path is accessible.
Provider authentication fails
Symptoms: Bolt shows “No providers configured”, API requests fail with 401 errors, or bolt run exits immediately without producing any output.Steps:
1
Re-run the provider login flow
bolt providers login
Select your provider and follow the prompts. Bolt will walk you through API key entry or OAuth.
2
Verify the API key environment variable
If you use an env var (e.g. ANTHROPIC_API_KEY), confirm it is actually set in the current shell:
echo $ANTHROPIC_API_KEY
If it is empty, add it to your shell profile and re-open your terminal.
3
Inspect the resolved config
bolt debug config
Look at the provider section. If your provider appears with a blank apiKey, the environment variable reference in your config file is not being expanded.
4
List stored credentials
bolt providers list
This shows all credentials stored in auth.json and all provider-related environment variables that Bolt detected.
MCP server won't connect
Symptoms:bolt mcp list shows a server as failed or needs authentication, or the agent cannot use any tools from that server.Steps:
1
Run the MCP debug probe
bolt mcp debug <server-name>
This tests basic HTTP connectivity, inspects the WWW-Authenticate header, and walks through the OAuth discovery flow if applicable. The output will tell you whether the server is reachable and whether auth is required.
2
Check the server URL
Verify the URL in your .bolt/bolt.jsonc. For remote servers, make sure the URL ends with the MCP path (e.g. /mcp or /tools), not just the host.
3
Re-authenticate for OAuth servers
bolt mcp auth <server-name>
Follow the browser flow. If the server requires a pre-registered client ID, add it to the config:
For local servers, run the command manually in your terminal to confirm it starts without errors:
npx @modelcontextprotocol/server-filesystem /tmp
Session not found
Symptoms:bolt run --session <id> exits with “Session not found”, or a session you remember working with has disappeared.Steps:
1
List all available sessions
bolt session list
Sessions are sorted by most-recently-updated first. If your session was deleted or the database was migrated, it will not appear here.
2
Find the database path
bolt db path
This prints the full path to the SQLite file. Verify the file exists and is not empty.
3
Query the database directly
bolt db "SELECT id, title FROM sessions ORDER BY time_updated DESC LIMIT 20"
If your session appears in the database but not in bolt session list, there may be a project ID mismatch — sessions are scoped to projects.
Permission errors in the TUI
Symptoms: The agent asks for permission repeatedly, refuses to write files, or you see “Permission denied” banners.Understanding access levels:Each built-in agent has a declared access level that controls what it can do without asking:
Access level
What it allows
Full
Read files, write files, run shell commands
Edit
Read and write files, no shell commands
Read
Read files only, no writes or commands
The code, debug, refactor, migrate, and perf agents have Full access. docs has Edit access. plan, ask, code-review, and security have Read access.Steps:
1
Switch to an agent with Full access
If you need file writes, use the code agent:
bolt run --agent code "implement the feature"
Or press Tab in the TUI to cycle through agents.
2
Use --auto to approve prompts non-interactively
In CI or scripted contexts, pass --auto to bolt run to auto-approve permissions that are not explicitly denied in the config.
3
Configure permissions in the config file
You can deny specific tools for all sessions in a project by adding a permission block to .bolt/bolt.jsonc.
High token usage or unexpected costs
Symptoms:bolt stats shows higher token counts than expected, or your API bill is growing faster than anticipated.Steps:
1
Review your usage statistics
bolt statsbolt stats --days 7 --models
The output breaks down cost per day, average tokens per session, and usage by model.
2
Lower the reasoning effort
For models that support it, reduce the reasoning effort with --variant:
bolt run --model anthropic/claude-opus-4-5 --variant minimal "quick review"
Supported values are provider-specific (e.g. minimal, low, high, max).
3
Switch to a cheaper model
Use bolt models to find a smaller model. Smaller models (e.g. claude-haiku, gpt-4o-mini) cost significantly less per token and work well for many tasks.
4
Use the ask or plan agent for exploration
The ask and plan agents have Read access and do not invoke write tools, which means they avoid tool-heavy loops that generate large output tokens.
Plugin conflicts or unexpected behavior
Symptoms: A slash-command behaves unexpectedly, the TUI renders incorrectly, or something changed after installing a plugin.Steps:
1
Disable all plugins to establish a baseline
bolt --pure
If the issue disappears, a plugin is responsible.
2
Identify the offending plugin
bolt debug info
The output lists all loaded plugins. Temporarily remove them one at a time from your config and restart Bolt until the issue is gone.
3
Check for version incompatibility
bolt upgrade
Plugins declare a compatible Bolt version range. If you recently upgraded Bolt, a plugin may need to be updated as well.
WSL / Windows path issues
Symptoms: On Windows with WSL, Bolt cannot find less, file paths contain unexpected backslashes, or the pager for bolt session list does not launch.Steps:
1
Set the Git Bash path
Bolt looks for Unix utilities (including less) relative to the Git for Windows installation. Set the environment variable to your Git Bash directory: