mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-18 11:06:19 +00: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