Moving from mise
urepo replaces mise without a compatibility shim. Import your mise.toml files once, port the remaining entries printed in the report, and delete mise.toml.
Install the importer
The importer is its own command, urepo-import, outside the urepo binary. Install it from crates.io at the version .urepo/urepo.toml pins:
cargo install --locked urepo-import@<version>Preview and run the import
Create .urepo/urepo.toml first (urepo config init) and a urepo.toml in any project folder that carries its own mise.toml. Preview what will change:
urepo-import mise --dry-runThe report prints how many tools, variables, and tasks translate cleanly, lists each file that would be edited, and explains every entry that needs manual porting along with its urepo equivalent.
Run without --dry-run to update .urepo/urepo.toml and project files in place:
urepo-import miseIt takes --json and -C <folder> as urepo does. Existing comments and keys are preserved, mise.toml files are never modified or deleted, and running the import twice is a no-op.
What translates automatically
- Catalog tools (
python,node,uv,pnpm,bun,pulumi,railway) and the tools of.urepo/toolsfiles, pinned to exact versions. - Plain string entries in
[env]. {{vars.name}}templates in task commands and[env], replaced with the value of the variable of[vars], which may itself name other variables of[vars](compose = "{{vars.docker}} compose"); a variable that names itself through others is not replaced.- Tasks whose semantics match urepo:
dependsand leadingmise runsteps map toafter,sourcesmaps toinputs, and dependency-only tasks becomerun = "true"withcache = false. A task nameda:b:cmoves to projecta/bas taskcwhen that project exists, or to the root project with:replaced by-.
What to port by hand
| mise construct | How to port to urepo |
|---|---|
Tools outside the catalog (such as terraform) |
Define the tool in a tool file, .urepo/tools/<tool>.toml, and import again |
rust in [tools] |
Pin the Rust toolchain in rust-toolchain.toml for rustup and the cargo extension |
Structured [env] tables or _ directives |
Write plain strings in [env] and adjust PATH inside commands that need extra directories |
Shell lines calling mise run |
Move prerequisites into after or call urepo task run <address> |
Task-scoped env, depends_post, wait_for, tools, shell |
Put shared variables in [env] or inline in run, and invert depends_post into after on the later task |
Scripts under mise-tasks/ |
Declare [task.<name>] invoking each script |
Finish the migration
Once every listed entry is ported, lock the tools, check the workspace, and delete mise.toml:
urepo tool lock
urepo config check
urepo task listCommit .urepo/urepo.lock alongside your updated .urepo/urepo.toml and project files.