Skip to content

mold config

Manage mold's global configuration.

Usage

mold config <subcommand> [args]

Subcommands

config set

Set a configuration value.

mold config set <key> <value>

config get

Read a single configuration value.

mold config get <key>

config list

Show all configuration values.

mold config list

config reset

Restore all settings to defaults.

mold config reset

Valid keys

Key Default Description
default_kit original Kit used when --beads/--kit is not passed
default_stack bare Stack used when --stack is not passed
author (empty) Author name injected into templates
git_init true Whether mold new runs git init
tools claude Comma-separated default AI tools

Examples

Set your default stack and tools:

mold config set default-stack go
mold config set tools claude,cursor,aider

Check the current default kit:

mold config get default-kit
original

List all settings:

mold config list
default_kit     = original
default_stack   = bare
author          =
git_init        = true
tools           = claude

Reset everything:

mold config reset

Config file location

Configuration is stored at ~/.config/mold/config.toml. The file is created automatically on first use.

See also