CLOUDBROWSER DOCUMENTATION

CLI reference

A Go CLI for humans, agents and dependable shell scripts.

The CloudBrowser CLI is a Go binary for browser lifecycle and link management. Install it with the command for your operating system below. It creates links and exits. Playwright, agent-browser, and other CDP clients connect directly to Chrome.

Install the CLI

macOS and Linux:

MACOS / LINUX
curl -fsSL https://cloudbrowser.tv/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"

Windows PowerShell:

WINDOWS POWERSHELL
irm https://cloudbrowser.tv/install.ps1 | iex

The 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

TERMINAL
cloudbrowser auth login
cloudbrowser auth status

Complete 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

TERMINAL
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 --yes

Lifecycle 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

TERMINAL
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 --yes

CDP 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 / conventionDesign
--output table | json | urlHuman output, stable JSON or a single connection URL.
--wait=falseReturn the internal operation response instead of waiting.
--yesConfirm destructive browser and link actions in scripts.
CLOUDBROWSER_API_KEYAPI key for Agent and CI authentication.
stdout / stderrResults on stdout; progress and diagnostics on stderr.
Exit codes0 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.

Browser guides · REST API · Go CLIExplore console