> AI agents: this is one page from Mammoth Analytics documentation. The index of all pages as Markdown is https://mammoth.io/docs/llms.txt. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get Markdown.

# mammoth config

> All 4 mammoth config commands with examples, arguments and confirmation flags: Read and update local CLI configuration.

> Generated from mammoth-cli 2.4.2, released 2026-11-02: `mammoth schema list`, `mammoth capability list` and the CLI's own `--help`. Do not edit by hand; run `npm run docs:capabilities`.

Read and update local CLI configuration. 4 commands.

Every command also takes the [global flags](https://mammoth.io/docs/build/cli/global-flags/) (`--output`, `--yes`, `--confirm`, `--dry-run`, `--input`, `--profile`, ...), which are not repeated below. `--input` takes a JSON or YAML document of the input fields; `mammoth schema get COMMAND_ID` prints a command's full input schema.

**Confirmation.** Commands marked `--yes --confirm TARGET` or `--yes` always need those flags, even at a terminal: they never prompt. Commands marked "`--yes` or prompt" ask at an interactive terminal (table output, no `--no-input`) and otherwise need `--yes`. `--dry-run` skips confirmation and sends nothing.

## Summary

| Command | What it does | Effect | Confirmation |
|---|---|---|---|
| [`config get`](#mammoth-config-get) | Get one profile-scoped configuration value. | Read | — |
| [`config list`](#mammoth-config-list) | List every profile-scoped configuration value. | Read | — |
| [`config path`](#mammoth-config-path) | Print the path to the non-secret profiles file. | Read | — |
| [`config set`](#mammoth-config-set) | Set one profile-scoped configuration value. | Benign mutation | — |

## config commands

### mammoth config get

Get one profile-scoped configuration value.

```bash
mammoth config get output
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `KEY` | positional | yes | — | `str` | Configuration key to read (e.g. output, timeout). |

- **Effect:** Read, scope `local` · **Confirmation:** none
- **Preconditions:** Required inputs: KEY.
- **Id:** `config.get` · **Result:** `ConfigGetResult`

### mammoth config list

List every profile-scoped configuration value.

```bash
mammoth config list
```

- **Effect:** Read, scope `local` · **Confirmation:** none
- **Id:** `config.list` · **Result:** `ConfigListResult`

### mammoth config path

Print the path to the non-secret profiles file.

```bash
mammoth config path
```

- **Effect:** Read, scope `local` · **Confirmation:** none
- **Id:** `config.path` · **Result:** `ConfigPathResult`

### mammoth config set

Set one profile-scoped configuration value.

```bash
mammoth config set output text
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `KEY` | positional | yes | — | `str` | Configuration key to set (e.g. output, timeout). |
| `VALUE` | positional | yes | — | `str` | New value for the configuration key. |

- **Effect:** Benign mutation, scope `local` · **Confirmation:** none
- **Preconditions:** Required inputs: KEY, VALUE.
- **Id:** `config.set` · **Result:** `ConfigSetResult`

---
Source: https://mammoth.io/docs/build/cli/config.md · Updated: 2026-11-02
