Skip to content

mise generate config

Generate a mise.toml file

Arguments

[PATH]

Path to the config file to create

Flags

-g --global

Generate the global config file (~/.config/mise/config.toml)

-n --dry-run

Show what would be generated without writing to file

-t --tool-versions <TOOL_VERSIONS>

Path to a .tool-versions file to import tools from

Examples:

mise generate config             # generate mise.toml interactively
mise generate config .mise.toml  # generate a specific file
mise generate config -g          # generate the global config file
mise generate config -y          # skip interactive editor
mise generate config -n          # preview without writing
MIT LicenseCopyright © 2026en.dev