# atuin login

<!-- Generated by web/apps/docs/scripts/gen-reference.ts from the Atuin source. Do not edit. -->

Login to the configured server

```sh
atuin login [OPTIONS]
```

## Options

- `-u <USERNAME>`, `--username <USERNAME>`
- `-p <PASSWORD>`, `--password <PASSWORD>`: Your password, or `-` to read it from stdin. Falls back to `ATUIN_PASSWORD`, then a prompt
- `-k <KEY>`, `--key <KEY>`: The encryption key for your account. Falls back to `ATUIN_ENCRYPTION_KEY`, then a prompt
- `-t <TOTP_CODE>`, `--totp-code <TOTP_CODE>`: The two-factor authentication code for your account, if any