This is a credential setup with persistent side effects. On success it writes your API key to a local config file and upserts
ZEROGPU_API_KEYinto your shell profile (e.g.~/.zshrc/~/.bashrc) — a lasting change to your environment, not a session-only login. Only run it when you intend to store a ZeroGPU credential on this machine. Revoke keys from the dashboard.
Run the ZeroGPU login flow with the exec tool:
zerogpu login
Notes:
- With no arguments, the CLI prompts interactively for the API key (masked).
- For non-interactive use (CI), when the user supplies a key, run
zerogpu login --api-key zgpu-api-…instead. Avoid passing the key as a literal argument on shared machines, where it may land in shell history or process listings. - On success the credentials are written to the local config file and
ZEROGPU_API_KEYis upserted into the user's shell profile.