26 lines
527 B
Markdown
26 lines
527 B
Markdown
## ✨ @trigger.dev/cli - Initialize your Next.js project to start using Trigger.dev
|
|
|
|
Trigger.dev is an open source platform that makes it easy to create event-driven background tasks directly your Next.js project.
|
|
|
|
## 💻 Usage
|
|
|
|
To initialize your Next.js project using `@trigger.dev/cli`, run any of the following three commands and answer the prompts:
|
|
|
|
### npm
|
|
|
|
```sh
|
|
npx @trigger.dev/cli@latest init
|
|
```
|
|
|
|
### yarn
|
|
|
|
```sh
|
|
yarn dlx @trigger.dev/cli@latest init
|
|
```
|
|
|
|
### pnpm
|
|
|
|
```sh
|
|
pnpm dlx @trigger.dev/cli@latest init
|
|
```
|