pcr login
Authenticate with PCR.dev
pcr login
Opens https://pcr.dev/settings in your browser to create a CLI token. Paste the token back into the terminal to complete authentication. Credentials are stored in ~/.pcr-dev/auth.json.
Scripted login
echo $PCR_TOKEN | pcr login
Stored credentials
~/.pcr-dev/auth.json
{
"token": "your-cli-token",
"userId": "279dde64-961d-4059-81fb-a008259f8b81"
}⚠
If a token leaks, delete it from Settings and run pcr login again. Existing local drafts and bundles aren't affected.