Skip to main content
The Channel3 CLI calls the Channel3 API from a terminal or script.
1

Install the CLI

To update an existing installation:
Upgrading from 0.4.x? Versions up to 0.4.1 were installed with Homebrew. Remove that build first — it is no longer updated:
The binary name and CHANNEL3_API_KEY are unchanged, but some flags are not. Most importantly, --query is now --query-param for search terms. See Migrating to 0.5.0.
2

Set an API key

Set optional locale defaults:
Add the export lines to ~/.zshrc (or ~/.bashrc), then source ~/.zshrc.
You can also pass --api-key to an individual command.
3

Run a search

Explore the CLI

The full CLI reference keeps every command in one place.