← Back to tools

browserbase

Browse the web, deploy automations, and manage browser sessions from the terminal

Development Network Cloud & Services linuxmacoswindows TypeScript MIT

Description

The official Browserbase CLI for managing cloud browser infrastructure from the terminal. Browse the web, deploy serverless automations, debug sessions, and manage projects. Features remote browser sessions with anti-bot stealth, CAPTCHA solving, and residential proxies across 201 countries. Includes fetch and search APIs, serverless function deployment, and session persistence with context management.

Install

npmnpm install -g @browserbasehq/cli

AI Summary

Official Browserbase CLI — manage cloud browser sessions, deploy serverless automations, fetch pages, search the web, and debug sessions from the terminal.

Capabilities

  • + Browse the web via remote cloud browsers
  • + Deploy serverless browser automation functions
  • + Fetch page content without opening a browser
  • + Web search returning structured results
  • + Manage browser sessions with anti-bot stealth and CAPTCHA solving
  • + Residential proxies across 201 countries
  • + Session persistence with context management (cookies, localStorage)
  • + Upload and manage custom browser extensions
  • + JSON output for programmatic use

Use When

  • You need cloud browser sessions for web automation
  • You want to deploy serverless browser functions
  • You need to fetch or scrape pages with bot protection bypass
  • You need web search results from the terminal

Avoid When

  • x You don't have a Browserbase account or API key
  • x You only need simple HTTP requests (use curl)

Usage Patterns

Fetch a page

bb fetch https://example.com

Retrieve page content as text

Search the web

bb search "best CLI tools" --json

Web search with JSON output

Deploy a function

bb functions deploy

Deploy a serverless browser automation to the cloud

List sessions

bb sessions list

View active and recent browser sessions

Input / Output

stdout: Page content, search results, session data, JSON output

Typical Pipelines

bb fetch URL | jq .
bb search query --json | jq '.results[].url'

Related Tools

View AGENTS.md for browserbase