Files
triggerdotdev--trigger.dev/docs/_snippets/v3/step-cli-dev.mdx
T
2024-04-04 17:02:15 +01:00

22 lines
440 B
Plaintext

<Step title="Run the CLI `dev` command">
The CLI `dev` command runs a server for your tasks. It will watches for changes in your `/trigger` directory and communicates with the Trigger.dev platform to register your tasks, perform runs, and send data back and forth.
<CodeGroup>
```bash npm
npx trigger.dev@beta dev
```
```bash pnpm
pnpm dlx trigger.dev@beta dev
```
```bash yarn
yarn dlx trigger.dev@beta dev
```
</CodeGroup>
</Step>