> ## Documentation Index
> Fetch the complete documentation index at: https://namespace.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# nsc login

Login to Namespace to access Namespace Instances, Remote Builders, etc.

`login` authenticates the `nsc` CLI to use Namespace products. The CLI opens
a browser where you need to select a [workspace](/docs/workspaces) to
complete the login flow.

## Usage

```bash theme={null}
nsc login [--browser]
```

### Example

```bash theme={null}
nsc login
```

```text nocopy Output theme={null}
Login to Namespace
Please complete the login flow in your browser.

  https://cloud.namespace.so/login/workspace?id=<id>

You are now logged in, have a nice day.
```

Afterward you can start using the `nsc` CLI to create ephemeral instances, build
container images, run containers or previews.

## Options

<h3 id="--browser">
  \--browser
</h3>

Open a browser to complete the login flow. Enabled by default (`--browser=true`). Pass `--browser=false` to skip opening a browser; `nsc` still prints the login URL so you can open it manually.
