nx/docs/generated/cli/connect.md

26 lines
1020 B
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 |