PagerDuty Command Line Interface
Fork of martindstone/pagerduty-cli, modernized and maintained.
- Node.js 24 LTS or later (bundled when installed via Homebrew)
brew tap jholm117/tap
brew install pdgit clone https://github.com/jholm117/pagerduty-cli.git
cd pagerduty-cli
npm install
npm link# OAuth browser flow (recommended)
pd login
# Or use an API token
pd auth:set -t <your-token>
# Verify
pd auth listSee the User Guide (upstream, still applicable).
pd analytics- Get PagerDuty Incident Analyticspd auth- Get/Set authentication tokenpd autocomplete- Display autocomplete installation instructions.pd automation- Manage automation actions and runnerspd bs- See/manage business servicespd commands- list all the commandspd ep- See/manage escalation policiespd event- Send an Alert to PagerDutypd field- Manage custom fieldspd help- Display help for pd.pd incident- See/manage incidentspd log- Show PagerDuty Domain Log Entriespd orchestration- Manage global orchestrationspd rest- Make raw requests to PagerDuty REST endpointspd schedule- See/manage schedulespd service- See/manage servicespd tag- Assign/Remove Tags to/from PagerDuty objectspd team- See/Manage teamspd user- See/manage userspd util- Utility commandspd version
- TypeScript 4 → 5, targeting Node 24 LTS
- oclif/core v1 → v3
- ESLint 8 → 9 (flat config)
- Mocha 10 → 11, nyc 15 → 18
- Removed dead deps (aws-sdk, plugin-update, fs-extra-debug)
- 0 npm audit vulnerabilities