# CLI switch command

> Source: https://trigger.dev/docs/cli-switch

Run the command like this:

npm

pnpm

yarn

    npx trigger.dev@latest switch [profile]
    

It will switch to the specified profile. If no profile is specified, it will list all available profiles and run interactively.

[​](https://trigger.dev/docs/cli-switch#arguments)

Arguments
---------------------------------------------------------------

    npx trigger.dev@latest switch [profile]
    

[​](https://trigger.dev/docs/cli-switch#param-profile)

Profile

\[profile\]

The profile to switch to. If not specified, it will list all available profiles and run interactively.

Was this page helpful?

YesNo

[Previous](https://trigger.dev/docs/cli-promote-commands)
[updateUse these options when using the \`update\` CLI command.\
\
Next](https://trigger.dev/docs/cli-update-commands)

Ctrl+I

Assistant

Responses are generated using AI and may contain mistakes.
