Quick Start
After installing, set your Pega credentials and run your first command.
1. Configure credentials
Set environment variables (or use a ~/.pega-cli/config.json file — see Profiles):
bash
export PEGA_BASE_URL=https://your-instance.pega.com
export PEGA_CLIENT_ID=your-client-id
export PEGA_CLIENT_SECRET=your-client-secret2. Authenticate and ping
bash
pega auth login
pega auth pingExpected: auth ping returns 200 OK (or similar).
3. Run your first command
bash
pega cases get MYAPP-CASE-1The output is JSON on stdout. Pipe to jq for filtering:
bash
pega cases get MYAPP-CASE-1 | jq '.status'Next steps
- Manage multiple Pega environments with Profiles.
- Walk an assignment with Interactive mode.
- Compose pipelines with Piping & scripting.
- Browse all commands or the API coverage matrix.