docs/cli/generate/config.md
mise generate configmise generate config [FLAGS] [PATH]src/cli/generate/config.rsGenerate a mise.toml file
[PATH] — Path to the config file to create-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-h --help — Print helpExamples:
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