# atuin config

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

Get, set, or print values in your atuin config file

```sh
atuin config <COMMAND>
```

## `atuin config get`

Get a configuration value from your config.toml file or after defaults and overrides are applied

```sh
atuin config get [OPTIONS] <KEY>
```

### Arguments

- `<KEY>`: The configuration key to get

### Options

- `-r`, `--resolved`: Print the value after defaults and overrides are applied
- `-v`, `--verbose`: Print both the config file value and the resolved value

## `atuin config set`

Set a configuration value in your config.toml file

```sh
atuin config set [OPTIONS] <KEY> <VALUE>
```

### Arguments

- `<KEY>`: The configuration key to set
- `<VALUE>`: The value to set

### Options

- `-t <TYPE>`, `--type <TYPE>`: Store value as an explicit type. Default: `auto`.
  - `auto`: Automatically determine the type of the value
  - `string`: Store value as a string
  - `boolean`: Store value as a boolean
  - `integer`: Store value as an integer
  - `float`: Store the value as a float
- `--force`: Set the key even if Atuin does not recognize it

## `atuin config print`

Print all configuration values from your config.toml file in TOML format

If a key is provided, only print the value of that key and all its children

```sh
atuin config print [KEY]
```

### Arguments

- `<KEY>`: Print the value of a specific key and all its children

## `atuin config check`

Check your configuration for settings that Atuin does not recognize

Atuin ignores settings it doesn't recognize. This command checks if your config
contains any unrecognized settings, and prints them and exits with an error if so.

```sh
atuin config check
```

## `atuin config types`

Print the Luau types of atuin.lua and .atuin.lua config files, for your editor. The types
are for files that start with `-- atuin:version=1`.

Save the output, say as ~/.atuin/atuin.d.luau, and list it in luau-lsp's
`luau-lsp.types.definitionFiles` setting. The table a config file assigns to
`atuin.config` then checks and completes as you write it.

```sh
atuin config types
```