Back to Mise

`mise config set`

docs/cli/config/set.md

2026.8.151.5 KB
Original Source
<!-- @generated by usage-cli from usage spec -->

mise config set

Set the value of a setting in a mise.toml file

Arguments

  • <KEY> — The path of the config to display
  • [VALUE] — The value to set the key to (optional if provided as KEY=VALUE)

Flags

  • -f --file <FILE> — The path to the mise.toml file to edit

    Can be a file path or directory. If a directory is provided, the config file in that directory is used.

    If not provided, the nearest mise.toml file will be used

    Aliases: --path

  • -g --global — Edit the global config file.

  • --system — Edit the system config file.

  • --append — Append the value without duplicating an existing entry.

  • --remove — Remove the value from an existing collection.

  • -t --type <TYPE>

    Choices: infer, string, integer, float, bool, list, set

    Default: infer

  • -h --help — Print help

Examples:

$ mise config set tools.python 3.12
$ mise config set settings.always_keep_download true
$ mise config set env.TEST_ENV_VAR ABC
$ mise config set settings.disable_tools node,rust
$ mise config set --append env._.path ~/.local/bin
$ mise config set --remove env._.path ~/.local/bin

# Type for `settings` is inferred
$ mise config set settings.jobs 4