CLI Reference
Themeshbrow CLI lets you manage browser sessions, profiles, and fleets directly from your terminal.
Installation
- Homebrew (macOS/Linux)
- Shell Script
- Go Install
- From Source
Authentication
Before using the CLI, authenticate with your API key:~/.meshbrow.yaml. You can also use environment variables:
Sessions
Create a Session
List Sessions
Get Session Details
Destroy a Session
Profiles
Create a Profile
List Profiles
Delete a Profile
Fleet Management
Create a Fleet
Check Fleet Status
Destroy a Fleet
Session Actions
Navigate
Screenshot
Execute JavaScript
Cookies
Export Cookies
Import Cookies
System Status
Version
Global Flags
| Flag | Description |
|---|---|
--api-key | API key (overrides config/env) |
--api-url | API base URL (default: https://api.meshbrow.dev) |
--config | Config file path (default: ~/.meshbrow.yaml) |
-o, --output | Output format: text or json |
Configuration File
The CLI reads from~/.meshbrow.yaml:
Environment Variables
| Variable | Description |
|---|---|
MESHBROW_API_KEY | API key |
MESHBROW_API_URL | API base URL |