TrigRun
CLI

CLI Installation

Install and configure the published TrigRun CLI.

Install from npm

npm install -g @trigrun/cli

Confirm the install

trigrun --help
trigrun --version

Sign in

trigrun login -e [email protected] -p your-secure-password
trigrun whoami

Use an API token instead

If you want non-interactive CLI auth, create a workspace API token in the TrigRun app from API Keys, then save it with:

trigrun token cron_pat_abc123def456...
trigrun whoami

Config file

The CLI stores credentials in:

~/.trigrun/config.json

Environment variables

If you prefer stateless usage in CI or automation, set environment variables instead of writing local config:

export TRIGRUN_API_URL="https://api.trigrun.com"
export TRIGRUN_TOKEN="cron_pat_abc123def456..."

Notes

  • Default API URL: https://api.trigrun.com
  • Node.js 18+ is required
  • Legacy CRON_API_URL, CRON_TOKEN, and cronctl are still accepted for compatibility

On this page