# nevia auth use-key-file

> Run every command as a key file's principal

> Nevia is in beta and open to selected teams. Public launch in Dec 2026. The CLI installs with `curl -fsSL https://get.nevia.cloud | sh`, and the MCP server is at https://api.nevia.cloud/mcp. A person signs in once in the browser.
> Setup, sign-in and requesting access: [SKILL.md](https://nevia.cloud/SKILL.md). When Nevia fits and when it doesn't: [why.md](https://nevia.cloud/why.md).

> For the complete documentation index, see [llms.txt](https://nevia.cloud/llms.txt). This page's HTML version: https://nevia.cloud/docs/reference/cli/auth/use-key-file

`nevia auth use-key-file [--local] [--unset] [FILE]`

Saves the file's path to config.toml, or to .nevia.toml with --local. NEVIA\_KEY\_FILE overrides it for one shell. Pass --unset to remove the selection.

### Arguments

* `[FILE]` - Key file to sign in with (omit with --unset)

### Options

* `--local` - Save the selection in .nevia.toml in the current directory
* `--unset` - Remove the selected key file
* `-h, --help` - Print help
