Installing Alpic CLI
Install the CLI globally with npm or pnpm:Authentication
The CLI supports two authentication methods: browser-based login and API key.Browser login (recommended)
API key
Set theALPIC_API_KEY environment variable to authenticate without a browser:
1
Get your API key
In the Alpic dashboard, open your team and go to API Keys in the sidebar. Click New API key, name it, and copy the key.
2
Set the environment variable
Export the key in your shell or add it to your CI/CD secrets:
If both OAuth login credentials and
ALPIC_API_KEY are present, the CLI uses ALPIC_API_KEY.