Skip to main content
To get started with OpenBrowser you need to install the package and set up an API key.

1. Installing OpenBrowser

macOS / Linux
Windows (PowerShell)
Detects uv, pipx, or pip and installs OpenBrowser automatically.Install to ~/.local/bin without sudo:
No separate browser install needed. OpenBrowser auto-detects any installed Chromium-based browser (Chrome, Edge, Brave, Chromium) and uses it directly. If none is found and uvx is available, Chromium is installed automatically on first run. To pre-install manually (requires uvx): openbrowser-ai install

2. Choose your favorite LLM

Create a .env file and add your API key.
.env
On Windows, use echo. > .env
Then add your API key to the file.
See Supported Models for more.

3. Run your first agent

Custom browsers can be configured in one line. Check out browsers for more.

4. Set up for your coding agent

The setup skill installs the CLI and Chromium, configures MCP and profiles, installs the plugin skills, and verifies a real browser session.
Replace codex with claude-code, opencode, or another supported agent name. The first command installs only the setup skill. The second installs all eight OpenBrowser skills. Claude Code can also use the plugin marketplace:
The portable MCP server command is:

5. Going to Production

For production deployments, see Going to Production for best practices on running OpenBrowser in production environments.