@bug0/cli
v1.0.3
Published
CLI for Bug0 Cloud Browsers
Readme
@bug0/cli
CLI for Bug0 Cloud Browsers. Create and manage cloud browser sessions from the terminal.
Install
npm install -g @bug0/cliAuthentication
Set your API key (one-time):
bug0 auth
# Enter your Bug0 API key: bug0_sk_...
# Saved to ~/.bug0/config.jsonOr use an environment variable:
export BUG0_API_KEY="bug0_sk_..."Check auth status:
bug0 auth statusCommands
bug0 create
Create a new cloud browser session.
bug0 createOptions:
| Flag | Description |
|------|-------------|
| --timeout <ms> | Session timeout in ms (default: 900000 / 15 min) |
| --no-preview | Headless only, no live preview (faster startup) |
Example:
$ bug0 create --timeout 300000
Session ID: 6643f1a2...
CDP URL: wss://...
Live Preview: https://...
Expires At: 2026-04-18T...
Startup: 8200msbug0 stop <sessionId>
Stop a running session. Frees resources and stops billing.
bug0 stop 6643f1a2...Environment variables
| Variable | Description |
|----------|-------------|
| BUG0_API_KEY | API key (overrides ~/.bug0/config.json) |
| BUG0_BASE_URL | Custom API base URL |
License
MIT
