<!-- @generated by usage-cli from usage spec -->
# `mise edit`

- **Usage**: `mise edit [-n --dry-run] [-t --tool-versions <TOOL_VERSIONS>] [PATH]`
- **Source code**: [`src/cli/edit.rs`](https://github.com/jdx/mise/blob/main/src/cli/edit.rs)

Edit mise.toml interactively

## Arguments

### `[PATH]`

Path to the config file to create

## Flags

### `-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 edit             # edit mise.toml interactively
mise edit .mise.toml  # edit a specific file
mise edit -y          # skip interactive editor
mise edit -n          # preview without writing
```
