https://github.com/browserbase/stagehand-cli
Stagehand SDK CLI for controlling remote browser sessions in Browserbase cloud with stagehand.
https://github.com/browserbase/stagehand-cli
Last synced: 3 months ago
JSON representation
Stagehand SDK CLI for controlling remote browser sessions in Browserbase cloud with stagehand.
- Host: GitHub
- URL: https://github.com/browserbase/stagehand-cli
- Owner: browserbase
- License: apache-2.0
- Created: 2025-12-16T19:23:30.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-01-10T00:00:46.000Z (4 months ago)
- Last Synced: 2026-01-10T21:49:34.570Z (4 months ago)
- Language: Go
- Size: 147 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Stagehand CLI
The official CLI for the [Stagehand REST API](https://docs.stagehand.dev).
It is generated with [Stainless](https://www.stainless.com/).
## Installation
### Installing with Go
```sh
go install 'github.com/browserbase/stagehand-cli/cmd/stagehand@latest'
```
### Running Locally
```sh
go run cmd/stagehand/main.go
```
## Usage
The CLI follows a resource-based command structure:
```sh
stagehand [resource] [command] [flags]
```
```sh
stagehand sessions act \
--id 00000000-your-session-id-000000000000 \
--input 'click the first link on the page'
```
For details about specific commands, use the `--help` flag.
## Global Flags
- `--debug` - Enable debug logging (includes HTTP request/response details)
- `--version`, `-v` - Show the CLI version