--- 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 ### generateToken Type: `boolean` Explicitly asks for a token to be created, do not override existing tokens from Nx Cloud ### help Type: `boolean` Show help ### verbose Type: `boolean` Prints additional information about the commands (e.g., stack traces) ### version Type: `boolean` Show version number