26 lines
1.0 KiB
Markdown
26 lines
1.0 KiB
Markdown
---
|
|
title: 'connect - CLI command'
|
|
description: 'Connect workspace to Nx Cloud.'
|
|
---
|
|
|
|
# connect
|
|
|
|
Connect workspace to Nx Cloud.
|
|
|
|
## Usage
|
|
|
|
```shell
|
|
nx connect
|
|
```
|
|
|
|
Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`.
|
|
|
|
## Options
|
|
|
|
| Option | Type | Description |
|
|
| ----------------- | ------- | ----------------------------------------------------------------------------------------- |
|
|
| `--generateToken` | boolean | Explicitly asks for a token to be created, do not override existing tokens from Nx Cloud. |
|
|
| `--help` | boolean | Show help. |
|
|
| `--verbose` | boolean | Prints additional information about the commands (e.g., stack traces). |
|
|
| `--version` | boolean | Show version number. |
|