CLI
Introduction
The Trigger.dev CLI has a number of options and commands to help you develop locally, self host, and deploy your tasks.
Options
Help
--help | -h
Shows the help information for the command.
Version
--version | -v
Displays the version number of the CLI.
Commands
Command | Description |
---|---|
login | Login with Trigger.dev so you can perform authenticated actions. |
init | Initialize your existing project for development with Trigger.dev. |
dev | Run your Trigger.dev tasks locally. |
deploy | Deploy your Trigger.dev v3 project to the cloud. |
whoami | Display the current logged in user and project details. |
logout | Logout of Trigger.dev. |
list-profiles | List all of your CLI profiles. |
update | Updates all @trigger.dev/* packages to match the CLI version. |