nx:connect-to-nx-cloud

Connect a workspace to Nx Cloud.

Usage

1nx generate connect-to-nx-cloud ... 2

By default, Nx will search for connect-to-nx-cloud in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

1nx g nx:connect-to-nx-cloud ... 2

Show what will be generated without writing to disk:

1nx g connect-to-nx-cloud ... --dry-run 2

Options

analytics

boolean
Default: false

Anonymously store hashed machine ID for task runs

installationSource

string
Default: user

Name of Nx Cloud installation invoker (ex. user, add-nx-to-monorepo, create-nx-workspace, nx-upgrade