---
title: "nctl login"
diataxis: reference
applies_to:
  product: "nctl"
audience: ["developer","platform-engineer"]
last_updated: 2026-04-16
url: https://docs.nirmata.io/docs/nctl/commands/nctl_login/
---

## nctl login

Provide authentication details to login

```bash
nctl login [flags]
```

### Options

```text
  -f, --file string     the configuration file (defaults to $HOME/.nirmata/config)
  -h, --help            help for login
      --insecure        allow connection to a Nirmata server with a insecure certificate (not recommended)
      --token string    the Nirmata API Login Key (env NIRMATA_TOKEN)
      --url string      the Nirmata server base URL (env NIRMATA_URL)
      --userid string   user id (email)
```text

### Options inherited from parent commands

```text
  -v, --v Level   number for the log level verbosity
```

### SEE ALSO

* [nctl](nctl.md)	 - nctl is the command line interface for Nirmata
* [nctl login git](nctl_login_git.md)	 - Sign in to your git provider
* [nctl login nch](nctl_login_nch.md)	 - Sign in to Nirmata Control Hub


