Back to Mise

`mise generate config`

docs/cli/generate/config.md

2026.8.121001 B
Original Source
<!-- @generated by usage-cli from usage spec -->

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
  • -h --help — Print help

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