> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rigbox.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# rig config set

> Set a default: `rig config set output yaml`

Available **local**. Reference source: CLI `0.13.0-rc.2` (`09bd4024dd72`).

Use this command from your local terminal. Workspace-mode syntax, when available, is listed separately below.

## Examples

Use JSON output for subsequent commands.

```bash theme={null}
rig config set output json
```

Inspect the supported arguments before running this command. Help is offline and does not modify resources.

```bash theme={null}
rig config set --help
```

## Local syntax

```text theme={null}
Usage: rigbox config set [OPTIONS] <KEY> <VALUE>
```

### Arguments and flags

| Argument                  | Description                                                                                                                                         | Details                                                        |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| `key`                     | Setting key (e.g. output, pager)                                                                                                                    | Required; Value: KEY                                           |
| `value`                   | Value to store                                                                                                                                      | Required; Value: VALUE                                         |
| `--output`                | Output format \[default: human, or `rig config set output …`]                                                                                       | Global; Value: OUTPUT; Choices: human, json, yaml, text, table |
| `--query`                 | Filter output with a JMESPath expression                                                                                                            | Global; Value: JMESPATH                                        |
| `--cli-input-json`        | Read inputs from a JSON file or '-' (stdin)                                                                                                         | Global; Value: FILE                                            |
| `--cli-input-yaml`        | Read inputs from a YAML file or '-' (stdin)                                                                                                         | Global; Value: FILE; Conflicts: cli\_input\_json               |
| `--generate-cli-skeleton` | Print a fillable input template, then exit                                                                                                          | Global; Default: false                                         |
| `--no-pager`              | Do not pipe help output through a pager                                                                                                             | Global; Default: false                                         |
| `-v, --verbose`           | Verbose diagnostics on stderr: per-phase deploy tracing, job-poll status, and transport commands. Useful for debugging a slow or stuck `rig deploy` | Global; Default: false                                         |
| `-h, --help`              | Print help                                                                                                                                          |                                                                |

<Accordion title="Complete command help">
  ```text theme={null}
  Set a default: `rig config set output yaml`

  Usage: rigbox config set [OPTIONS] <KEY> <VALUE>

  Arguments:
    <KEY>
            Setting key (e.g. output, pager)

    <VALUE>
            Value to store

  Options:
        --output <OUTPUT>
            Output format [default: human, or `rig config set output …`]
            
            [possible values: human, json, yaml, text, table]

        --query <JMESPATH>
            Filter output with a JMESPath expression

        --cli-input-json <FILE>
            Read inputs from a JSON file or '-' (stdin)

        --cli-input-yaml <FILE>
            Read inputs from a YAML file or '-' (stdin)

        --generate-cli-skeleton
            Print a fillable input template, then exit

        --no-pager
            Do not pipe help output through a pager

    -v, --verbose
            Verbose diagnostics on stderr: per-phase deploy tracing, job-poll status, and transport commands. Useful for debugging a slow or stuck `rig deploy`

    -h, --help
            Print help
  ```
</Accordion>
