Skip to content

mise vars ​

  • Usage: mise vars [--no-header] [NAME[=VALUE]]… [SUBCOMMAND]
  • Effect: modifies state
  • Source code: src/cli/vars/mod.rs

List, set, and ask for config vars

Like mise set: with no arguments, lists every var and where it comes from; mise vars NAME=VALUE saves a value on this machine and mise vars NAME prints one. Saved values live in $MISE_STATE_DIR/vars.toml, outside every config file, and sit above a var's default but below any value a config file sets. mise vars prompt asks for the [vars] that declare a prompt; only it and mise bootstrap --prompt-vars ever ask. See https://mise.jdx.dev/configuration/vars.html#prompt

Arguments ​

  • [NAME[=VALUE]]… — Values to save (NAME=VALUE) or to print (NAME)

Flags ​

  • --no-header — Do not print the table header
  • -h --help — Print help

Examples ​

Save a value on this machine without asking

mise vars git_name="Ada Lovelace"

Print the saved value of git_name

mise vars git_name

List every var and its source

mise vars

Subcommands ​

MIT LicenseCopyright © 2026jdx.dev