Quick demo
After installing the CLI:Command tree
photon <command> --help for the full flag list of any command.
The pho alias
After installing globally, a pho shortcut is created automatically the first time you run photon:
npx / bunx users don’t get it since they’re already typing the full package name.
Global flags
| Flag | Env var | Effect |
|---|---|---|
--debug | PHOTON_DEBUG=1 | Verbose HTTP request/response logs to stderr |
--version, -v | — | Print CLI version |
--no-color | NO_COLOR=1 | Disable colored output (NO_COLOR standard) |
--api-host, --project, --token, --json, --yes, --no-browser) are per-command and must appear after the subcommand name.