CLI projects commands
List, create, inspect, and rename Trigger.dev projects from the terminal.
These commands act on the organizations and projects your account can access, so run
login first.
projects create
Creates a project. You are prompted for the organization and name when the options are omitted.
npx trigger.dev@latest projects createpnpm dlx trigger.dev@latest projects createyarn dlx trigger.dev@latest projects createThe organization slug or ID to create the project in.
The name of the new project.
projects list
Lists your projects with the runtime and version of their current Production deployment.
npx trigger.dev@latest projects listpnpm dlx trigger.dev@latest projects listyarn dlx trigger.dev@latest projects listbunx trigger.dev@latest projects listOnly show projects using Node.js 21 in Production.
projects get
Prints the name, ref, slug, organization, default runtime and region of a project.
npx trigger.dev@latest projects get proj_abc123pnpm dlx trigger.dev@latest projects get proj_abc123yarn dlx trigger.dev@latest projects get proj_abc123bunx trigger.dev@latest projects get proj_abc123projects rename
Renames a project. The project ref does not change.
npx trigger.dev@latest projects rename proj_abc123 "My new name"pnpm dlx trigger.dev@latest projects rename proj_abc123 "My new name"yarn dlx trigger.dev@latest projects rename proj_abc123 "My new name"bunx trigger.dev@latest projects rename proj_abc123 "My new name"Options
Common options
These options are available on most commands.
The login profile to use. Defaults to the current profile, which is set by your last login or switch (initially "default").
Override the default API URL. If not specified, it uses https://api.trigger.dev. This can also be set via the TRIGGER_API_URL environment variable.
The CLI log level to use. Options are debug, info, log, warn, error, and none. This does not affect the log level of your trigger.dev tasks. Defaults to log.
Opt-out of sending telemetry data. This can also be done via the TRIGGER_TELEMETRY_DISABLED environment variable. Just set it to anything other than an empty string.
Shows the help information for the command.
Displays the version number of the CLI.
Was this page helpful?
Last updated
Edit on GitHub