@browser-terminal-use/cli
v1.3.0
Published
<p align="center"> <img src="https://raw.githubusercontent.com/chaokunyang/browser-terminal-use/aa9e7888f2d8e33728caf83a236d65426f301cf1/assets/logo/browser-terminal-use-logo.svg" alt="Browser Terminal Use logo" width="760" /> </p>
Downloads
70
Readme
@browser-terminal-use/cli
CLI client for Browser Terminal Use.
This package exposes browterm, which sends commands to a running bridge daemon
and prints streamed output from the bound browser terminal tab.
Install
npm i -g @browser-terminal-use/cliOr run directly:
npx @browser-terminal-use/cli --helpUsage
browterm [--host HOST] [--port PORT] <command>Commands
health
exec [--timeout-ms N] [--json] [--request-id ID] <command>
cancel <requestId>Global options
--host <host> Bridge host (default: 127.0.0.1)
--port <port> Bridge port (default: 17373)
--token <token> Shared auth token (optional, improves security)
--client-id <id> Stable client id (optional)
--help Show helpExamples
browterm health
browterm exec "uname -a"
browterm exec --timeout-ms 30000 --json "ls -la"
browterm cancel <requestId>Exit behavior
- On success,
browterm execexits with the same code as the remote shell command. - On timeout/cancel/error, it exits with a non-zero status.
Notes
- Requires a running
@browser-terminal-use/bridgedaemon. - Requires the Browser Terminal Use Chrome extension connected to the daemon.
