mise settings
- Usage:
mise settings [FLAGS] [SETTING] [VALUE] [SUBCOMMAND] - Effect: modifies state
- Source code:
src/cli/settings/mod.rs
Manage settings
With no arguments, lists the settings set in config files (same as mise settings ls). With SETTING, prints its effective value. With SETTING=VALUE or SETTING VALUE, writes it to the global config (~/.config/mise/config.toml), or to the nearest project config with --local. Every setting is described at https://mise.jdx.dev/configuration/settings.html
Arguments
[SETTING]— Only show this setting, or the settings under this prefix such aspython[VALUE]— The value to set
Global Flags
-l --local— Use only the nearest project configReads only its explicit settings, or writes to it instead of the global config.
Flags
-a --all— List all settings-J --json— Output in JSON format-T --toml— Output in TOML format--json-extended— Output in JSON format with sources-h --help— Print help
Examples
List settings set in config files
mise settingsShow the effective value of one setting
mise settings jobsSet jobs in the global config
mise settings jobs=4Set a setting in the project config
mise settings --local node.mirror_url https://npmmirror.com/mirrors/node/Subcommands
mise settings add [-l --local] [--override] <SETTING> [VALUE]mise settings get [-l --local] <SETTING>mise settings ls [FLAGS] [SETTING]mise settings set [-l --local] [--override] <SETTING> [VALUE]mise settings unset [-l --local] [--override] <KEY>