CLI
The Phonic CLI maps every API endpoint to a subcommand, so you can call Phonic without writing code — handy for scripting, CI, or an AI coding agent that shells out directly.
Install
npm
Shell (macOS / Linux)
PowerShell (Windows)
Build from source
Or run it without installing:
Authenticate
A .env file in the working directory also works — the CLI loads it automatically.
Usage
Every API resource is a subcommand:
Run phonic --help or phonic <resource> --help to see what’s available.
Useful flags
See the phonic-cli repo for the full command reference, environment variables, and shell completion.