Skip to main content
The TinyFish CLI lets you run browser automations, check results, and manage runs from your terminal — no code required.

Installation

Verify:

Authentication

Opens the API keys page in your browser. Paste your key when prompted. The key is saved to ~/.tinyfish/config.json. For CI/CD:
Check status:
Returns JSON with source (env, config, or none), key_preview (first/last chars of the key, or null), and authenticated (true/false). Exit code 1 when not authenticated.

Quick Start

Environment variables

VariableDescription
TINYFISH_API_KEYAPI key — takes priority over saved config
TINYFISH_VAULT_TOKEN1Password service account token for vault connection add
TINYFISH_VAULT_CLIENT_SECRETBitwarden client secret for vault connection add
TINYFISH_VAULT_MASTER_PASSWORDBitwarden master password for vault connection add
TINYFISH_DEBUGSet to 1 to enable debug output

Output

By default all commands output JSON to stdout. Errors go to stderr as JSON. Exit code 1 on failure. Add --pretty to any command for human-readable output.