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
@@ -303,7 +301,7 @@ This section highlights some of the CLI commands and options that are useful whe
303
301
To avoid being redirected to the [Trigger.dev Cloud](https://cloud.trigger.dev) login page when using the CLI, you can specify the URL of your self-hosted instance with the `--api-url` or `-a` flag. For example:
304
302
305
303
```bash
306
-
npx trigger.dev@beta login -a http://trigger.example.com
304
+
npx trigger.dev@latest login -a http://trigger.example.com
307
305
```
308
306
309
307
Once you've logged in, the CLI will remember your login details and you won't need to specify the URL again with other commands.
@@ -313,38 +311,38 @@ Once you've logged in, the CLI will remember your login details and you won't ne
313
311
You can specify a custom profile when logging in. This allows you to easily use the CLI with our cloud product and your self-hosted instance at the same time. For example:
314
312
315
313
```
316
-
npx trigger.dev@beta login -a http://trigger.example.com --profile my-profile
314
+
npx trigger.dev@latest login -a http://trigger.example.com --profile my-profile
317
315
```
318
316
319
317
You can then use this profile with other commands:
320
318
321
319
```
322
-
npx trigger.dev@beta dev --profile my-profile
320
+
npx trigger.dev@latest dev --profile my-profile
323
321
```
324
322
325
323
To list all your profiles, use the `list-profiles` command:
326
324
327
325
```
328
-
npx trigger.dev@beta list-profiles
326
+
npx trigger.dev@latest list-profiles
329
327
```
330
328
331
329
#### Verify login
332
330
333
331
It can be useful to check you have successfully logged in to the correct instance. You can do this with the `whoami` command, which will also show the API URL:
On [Trigger.dev Cloud](https://cloud.trigger.dev), we build deployments remotely and push those images for you. When self-hosting you will have to do that locally yourself. This can be done with the `--self-hosted` and `--push` flags. For example:
0 commit comments