Files
Nikhil dfbce48994 feat: remove CLI auto init discovery (#896)
* feat: remove CLI auto init discovery

* fix: address review feedback for PR #896
2026-04-30 16:03:47 -07:00
..

browseros-cli

Command-line interface for controlling BrowserOS -- launch and automate the browser from the terminal.

Installation

Zero install (recommended):

npx browseros-cli --help

Global install:

npm install -g browseros-cli

Shell script fallback:

curl -fsSL https://cdn.browseros.com/cli/install.sh | bash

Quick Start

# Download BrowserOS
browseros-cli install

# Start BrowserOS
browseros-cli launch

# Configure MCP settings with the Server URL from BrowserOS settings
browseros-cli init http://127.0.0.1:9000/mcp

# Verify everything is working
browseros-cli health

Usage

Navigation

browseros-cli navigate "https://example.com"

Observation

browseros-cli snapshot           # Get the accessibility tree of the current page
browseros-cli console-logs       # View browser console output

Screenshots

browseros-cli screenshot         # Capture the current page

Input

browseros-cli click 42           # Click an element by its node ID
browseros-cli fill 85 "query"    # Type text into an input field

Agent Mode

browseros-cli agent "Search for flights to Tokyo"

Documentation

Full documentation is available at browseros.com.

License

MIT