CLI reference
A Go CLI for humans, agents and dependable shell scripts.
Install the CLI
macOS and Linux:
curl -fsSL https://cloudbrowser.tv/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"Windows PowerShell:
irm https://cloudbrowser.tv/install.ps1 | iexThe installer detects your CPU architecture, verifies the release SHA-256 checksum and installs to your user directory without administrator access. On macOS and Linux the default is ~/.local/bin; on Windows it is %LOCALAPPDATA%\CloudBrowser\bin.
Run the same install command again to update. Set CLOUDBROWSER_VERSION to pin a release or CLOUDBROWSER_INSTALL_DIR to choose another directory.
Sign in
cloudbrowser auth login
cloudbrowser auth statusComplete registration or sign-in through Auth0 in your browser. The CLI saves the resulting credential in your per-user config directory with restricted file permissions. Agents and CI can use an existing CLOUDBROWSER_API_KEY instead.
Browser lifecycle
cloudbrowser create --name research
cloudbrowser list --output json
cloudbrowser get br_123
cloudbrowser restart br_123
cloudbrowser pause br_123
cloudbrowser resume br_123
cloudbrowser fork br_123 --name research-copy
cloudbrowser delete br_123 --yesLifecycle requests wait for completion by default. The REST API still uses asynchronous operations internally, but the CLI keeps polling details out of the user-facing command model.
Chrome is the default. Use --browser chromium when Chromium is available in your workspace, or choose from the browser products shown in the Console. A browser keeps its product for its lifetime, and a fork inherits that product. The REST create request accepts an optional browserType; leaving it out preserves the existing Chrome default. The account response listsavailableBrowserTypes for programmatic discovery.
Create and manage links
cloudbrowser links create br_123 --audience cdp --output url
cloudbrowser links create br_123 --audience live-view --permission view --output url
cloudbrowser links list br_123
cloudbrowser links reveal br_123 grant_123 --output url
cloudbrowser links update br_123 grant_123 --permission control
cloudbrowser links revoke br_123 grant_123 --yesCDP links provide browser automation access. Live View links require account access and can be read-only or control links. Links remain valid until the owner revokes them. The CLI never needs to remain running after a link is created.
Output and automation
| Option / convention | Design |
|---|---|
| --output table | json | url | Human output, stable JSON or a single connection URL. |
| --wait=false | Return the internal operation response instead of waiting. |
| --yes | Confirm destructive browser and link actions in scripts. |
| CLOUDBROWSER_API_KEY | API key for Agent and CI authentication. |
| stdout / stderr | Results on stdout; progress and diagnostics on stderr. |
| Exit codes | 0 success; 1 service failure; 2 invalid arguments; 3 authentication; 4 quota or concurrency. |
Use one browser and one CDP link per parallel Agent session. The browser profile stays isolated, and the Agent client connects directly to the returned URL.