CLI installation
The HookNexus CLI connects your terminal to your account so you can manage endpoints, stream live webhooks, and (on Pro) forward traffic to a local server.
Requirements
- Node.js 18 or later (LTS recommended)
- npm, pnpm, or yarn for global installs
Install
npm install -g hooknexuspnpm add -g hooknexusnpx hooknexus --versionSign in
HookNexus uses your browser for OAuth (GitHub or Google).
-
Run:
Terminal window hooknexus login -
Complete sign-in in the browser window that opens.
-
Return to the terminal when the CLI reports success.
Verify the installation
hooknexus --versionYou should see the CLI version number. Run hooknexus --help for a full command list.
Update
npm update -g hooknexusUninstall
npm uninstall -g hooknexusOptional login methods
- API token:
hooknexus login --token <your-token>for CI or headless environments. - Environment variable: set
HOOKNEXUS_TOKENinstead of storing credentials in scripts.