You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/documentation/guides/cli.mdx
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,3 +109,43 @@ yarn dlx @trigger.dev/cli@latest dev
109
109
You can optionally pass the hostname if you're not running on localhost by adding
110
110
`--hostname <host>`. Example, in case your Next.js is running on 0.0.0.0: `--hostname 0.0.0.0`.
111
111
</Note>
112
+
113
+
## update Command
114
+
115
+
The `update` command will update all Trigger.dev packages to the latest version.
116
+
117
+
<CodeGroup>
118
+
119
+
```bash npm
120
+
npx @trigger.dev/cli@latest update
121
+
```
122
+
123
+
```bash pnpm
124
+
pnpm dlx @trigger.dev/cli@latest update
125
+
```
126
+
127
+
```bash yarn
128
+
yarn dlx @trigger.dev/cli@latest update
129
+
```
130
+
131
+
</CodeGroup>
132
+
133
+
## whoami Command
134
+
135
+
The `whoami` command will print out information about your current Trigger.dev project and environment, based on the API key found in your `.env` or `.env.local` file
0 commit comments