# pier login

> Authenticate with the controller

URL: https://pier.run/docs/cli/reference/login

```bash
pier login [<url>] [flags]
```

Authenticate with the controller.

## Arguments

| Argument | Required | Description                                       |
| -------- | -------- | ------------------------------------------------- |
| `<url>`  | no       | Controller URL (default: built-in or from config) |

## Flags

| Flag           | Value | Default | Description                                        |
| -------------- | ----- | ------- | -------------------------------------------------- |
| `--no-browser` |       |         | Use email/password prompt instead of browser login |

[Global flags](/docs/cli/reference#global-flags) apply to every command.
