N
Nx CLI
Details
- Command
-
nx - Docs
- https://nx.dev/docs/reference/nx-commands
Authentication
Nx Cloud personal access token bearer discovered
$ npx nx login $ npx nx-cloud configure --personalAccessToken=... Acquired by the CLI — running npx nx login opens the auth flow and stores the credential.
env NX_CLOUD_ACCESS_TOKEN In the Nx Cloud app's workspace settings, open the Access Control tab and generate CI access tokens for the workspace. Nx documents two token types: read-only and read-write. Provide the token to CI as the NX_CLOUD_ACCESS_TOKEN environment variable. See CI Access Tokens.