Creates a [custom landing page for Nx commands](https://nx-dev-git-docs-commands-landing-page-nrwl.vercel.app/reference/nx-commands)
26 lines
1.3 KiB
Markdown
26 lines
1.3 KiB
Markdown
---
|
|
title: 'login - CLI command'
|
|
description: 'Login to Nx Cloud'
|
|
---
|
|
|
|
# login
|
|
|
|
Login to Nx Cloud
|
|
|
|
## Usage
|
|
|
|
```shell
|
|
nx login [nxCloudUrl]
|
|
```
|
|
|
|
Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`.
|
|
|
|
## Options
|
|
|
|
| Option | Type | Description |
|
|
| -------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| `--help` | boolean | Show help |
|
|
| `--nxCloudUrl` | string | The Nx Cloud URL of the instance you are trying to connect to. If no positional argument is provided, this command will connect to https://cloud.nx.app. |
|
|
| `--verbose` | boolean | Prints additional information about the commands (e.g., stack traces) |
|
|
| `--version` | boolean | Show version number |
|