Skip to main content
This guide walks you through installing Bolt, launching it in a project, connecting an AI provider, and running your first prompt. The whole flow takes under a minute.
1

Install Bolt

The quickest path is the official install script, which works on macOS and Linux:
Prefer a package manager? Install globally with npm, bun, pnpm, or yarn:
For the desktop app on macOS (no Gatekeeper detour):
See the Installation guide for all methods, including Homebrew, Chocolatey, Scoop, and Windows-specific notes.
2

Open your project

Navigate to any project directory and launch the interactive TUI:
Bolt picks up your project context automatically — reading your file tree, understanding the stack, and making it available to every agent from the moment you open it.
3

Configure an AI provider

On first launch, Bolt will prompt you to configure a provider if none is set. You can also run this at any time:
This opens the provider management flow where you can add API keys for OpenAI, Anthropic, and other supported LLM providers. Configuration is saved to .bolt/bolt.jsonc in your project root.
4

Type a prompt and explore agents

Once inside the TUI, type your prompt and press Enter. Use Tab to switch between Bolt’s ten built-in agents at any time — the current agent is shown in the status bar.You can also run prompts directly from the command line without opening the TUI:

Built-in agents

Switch agents with Tab in the TUI, or pass --agent <name> to bolt run. Each agent has a defined access level to match its purpose. There are also two built-in subagents for delegation: @general for complex multi-step tasks and @explore for fast read-only codebase research. You can define your own agents as Markdown files or generate one with bolt agent create.

Common commands to try next

Pass --mini to bolt or bolt attach for a compact UI that takes up less terminal space — great for smaller windows or split-pane layouts.
bolt run accepts --auto, --yolo, and --dangerously-skip-permissions flags that auto-approve all permission prompts without asking. Use these only in trusted environments — they allow the agent to read, write, and execute without confirmation.
Bolt supports shell completions for bash, zsh, fish, and other shells. Generate and install completions with:
Follow the printed instructions to source the completion script in your shell config.