# `mini-extra config` !!! abstract "Overview" * `mini-extra config` is a utility to manage the global configuration file. * Quickly start the it with `mini-extra config` or `mini-e config`. ## Commands ### `setup` Interactive setup wizard that helps you configure your default model and API keys. ```bash mini-extra config setup ``` This will prompt you for: 1. Your default model (e.g., `anthropic/claude-sonnet-4-5-20250929`) 2. Your API key name and value (e.g., `ANTHROPIC_API_KEY`) ### `set` Set a specific key in the global config file. ```bash # example: set default model mini-extra config set MSWEA_MODEL_NAME anthropic/claude-sonnet-4-5-20250929 # or interactively mini-extra config set ``` ### `unset` Remove a key from the global config file. ```bash mini-extra config unset MSWEA_MODEL_NAME ``` ### `edit` Open the global config file in your default editor (uses `$EDITOR` or `nano`). ```bash mini-extra config edit ``` ## Configuration keys For more configuration options, see [global configuration](../advanced/global_configuration.md). ## Implementation ??? note "Run script" - [Read on GitHub](https://github.com/swe-agent/mini-swe-agent/blob/main/src/minisweagent/run/utilities/config.py) - [API reference](../reference/run/config.md) ```python --8<-- "src/minisweagent/run/utilities/config.py" ``` {% include-markdown "../_footer.md" %}