Build Stack Review

mise vs asdf for Pinning Tool Versions

Both read a file in the repo and put the right version of each tool on your PATH. mise adds a lockfile, environment variables and tasks; asdf stays a smaller tool built around exact versions in `.tool-versions`.

By Build Stack Review · Last reviewed

The short answer

Pick mise for a new setup, or when you want more than version switching: a lockfile with checksums (mise.lock), project environment variables, tasks, and native Windows support. Stay on asdf when it already works for your team and all you need is exact tool versions in .tool-versions, with the plugins you already trust.

Moving is low-risk because mise reads .tool-versions, so one engineer can switch while the rest of the team keeps asdf. Neither tool pins system libraries such as OpenSSL or libpq: if your drift is there, look at a Nix-based tool instead.

mise

A version manager written in Rust (formerly called rtx) that also sets environment variables and runs tasks. It reads mise.toml, and .tool-versions for compatibility, and installs most tools through built-in backends rather than plugins.

mise documentation ↗

asdf

A plugin-based version manager: each tool is installed by a plugin, and .tool-versions says which exact version every project uses. Since 0.16 it is a single Go binary rather than a set of Bash scripts.

asdf documentation ↗

mise and asdf side by side

miseasdf
Project configmise.toml (tools, [env], [tasks], settings). Also reads .tool-versions and, once enabled per tool, files such as .nvmrc and .python-version..tool-versions, one tool and version per line. Machine settings live in ~/.asdfrc.
Version requestsExact versions or fuzzy ones: node = "24", lts or latest, resolved when you install (and recorded in mise.lock if you use one).Exact versions only. latest and ranges are refused in .tool-versions; ref:, path: and system are allowed.
Lockfilemise.lock records the resolved version and, for most backends, a download URL and checksum per platform. mise install --locked installs only what it records.None. The exact versions in .tool-versions act as the pin; there are no checksums.
How tools are installedBuilt-in backends for the common languages, plus aqua, GitHub releases, npm, PyPI, cargo, go and others. asdf plugins still work through the asdf backend.A plugin per tool: a Git repository of shell scripts that downloads or compiles it. Plugins are maintained by the asdf team (Node.js, Ruby, Erlang, Elixir) or the community.
Selecting the versionmise activate updates PATH at the prompt and when you change directory, so commands run the tool directly. Shims are available for IDEs and scripts.Shims: every call goes through a small executable in $ASDF_DATA_DIR/shims that looks up the version first.
Environment variablesBuilt in: [env] in mise.toml sets them per project, for activated shells, mise exec, tasks and shims.Not a feature. Teams usually add direnv for project variables.
Tasks[tasks] in mise.toml (or task files), run with mise run.None; use make, npm scripts or similar.
Running code from a repoA project config that can run code ([env], hooks, templates, tool options) loads only after mise trust.Plugins run their scripts on your machine on install; you trust each plugin's maintainer as well as the tool's publisher.
WindowsRuns natively for tools that publish Windows builds (PowerShell, winget, Scoop, Chocolatey). asdf plugins still need a Unix shell.Not native. WSL2 should work from a Linux-side directory; WSL1 is not supported.
CIjdx/mise-action on GitHub Actions, which adds --locked when the repo has a mise.lock.asdf-vm/actions on GitHub Actions installs asdf and the tools in .tool-versions.
Updating the managermise self-update, or the package manager you installed it with.Through your package manager or a new binary; asdf update was removed in 0.16.
Licence and costOpen source, MIT.Open source, MIT.

Which to choose

Choose mise if

  • You are setting up version management for the first time, or onboarding new engineers who have nothing installed yet.
  • You want CI and laptops to install byte-identical tools, checked against recorded checksums (mise.lock with --locked).
  • You would otherwise bolt direnv and a task runner onto your version manager.
  • Some of your engineers work on Windows without WSL.
  • You need CLIs that have no asdf plugin, installed straight from GitHub releases, npm or PyPI.

Choose asdf if

  • asdf is already in place, everyone knows it, and versions aren't drifting.
  • You want .tool-versions to be the whole contract: exact versions, nothing fuzzy, no second config format.
  • You rely on a plugin with build options or behaviour you have tuned and don't want to re-test.
  • You want the version manager to do one job, with env vars and tasks kept in tools you already use.

The same project in each

For a repo that needs Node and Python, asdf needs a plugin for each tool and one file with exact versions. Every engineer runs asdf plugin add for each tool once, then asdf install in the project.

mise can read that same file. Its own format adds the things asdf leaves to other tools: a fuzzy request that a lockfile pins, project environment variables, and tasks. mise install (or mise install --locked in CI) installs everything it lists, with no plugins to add for registry tools.

.tool-versions: read by asdf, and by mise
nodejs 24.11.0
python 3.13.1
mise.toml: mise.lock records the exact versions these resolve to
[tools]
node = "24"
python = "3.13"

[env]
DATABASE_URL = "postgres://localhost/app_dev"

[tasks.test]
run = "npm test"

Pinning: exact versions or a lockfile

asdf's rule is that .tool-versions holds exact versions, the way package-lock.json holds exact package versions, so two machines reading it ask for the same release. What it doesn't record is what was downloaded: a plugin fetches or compiles the tool, and nothing checks the result against a known checksum.

mise separates the request from the pin. mise.toml can say node = "24", and mise lock writes the version that resolves to into mise.lock, with download URLs and checksums for each platform where the backend provides them. mise install --locked then fails rather than resolve anything new. Two limits: tools listed only in .tool-versions are not locked, and for tools compiled from source, such as Ruby, the lockfile checks the source download, not the build.

Shims and shell activation

asdf puts a shim for every managed executable on your PATH; each call to node runs the shim, which finds the right version and hands over to it. It works in any shell, editor or script without setup, at the cost of a lookup on every call, and tools installed through a managed runtime (for example a global npm package) need asdf reshim before their shim appears.

mise's default is mise activate in your shell profile: when the prompt draws or you change directory, it puts the selected versions' directories on PATH and sets the project's variables, so commands then run the real executables. For places with no interactive shell, such as some IDEs and cron jobs, mise also has shims that resolve the version on each call, as asdf's do.

Moving from asdf to mise

Because mise reads .tool-versions and every parent directory's copy, a project can switch one engineer at a time. Install mise, run mise install in the project, check the tools with mise exec, then remove asdf's shims directory and activation from your shell profile and add mise activate. mise installs its own copies of each tool; the two managers should not share install directories.

When everyone has moved, mise generate config --tool-versions .tool-versions writes the equivalent mise.toml. Until then, keep mise-only syntax (fuzzy versions, backend names such as aqua:jqlang/jq) out of .tool-versions, since asdf can't read it. Note that mise calls the tools node and go where asdf's plugins are nodejs and golang.

When neither is enough

Both tools manage language runtimes and CLIs and leave the rest of the machine alone. Native libraries (OpenSSL, libpq, ImageMagick), the C compiler a Ruby or Python build uses, and the differences between macOS and Linux all stay as each machine has them. If those are where your builds break, a Nix-based environment manager pins the whole dependency graph; Devbox, devenv and Flox put a simpler config on top of Nix, and the site's Nix vs Docker comparison covers how that compares with containers.

Frequently asked questions

Is mise a drop-in replacement for asdf?

Close, not exact. mise reads .tool-versions and can run asdf plugins, and it accepts some asdf spellings, but its commands differ: mise use replaces asdf set, and mise set sets environment variables, not versions. Use mise's own syntax in scripts.

Can mise and asdf share one repo?

Yes. Keep a .tool-versions with exact versions that both read. To update it from mise, use mise use --path .tool-versions --pin node@24 so it writes a concrete version asdf accepts.

Does asdf have a lockfile?

No. .tool-versions must hold exact versions, which is the pin, but asdf records no download URLs or checksums. mise's mise.lock does, for the tools declared in mise.toml.

Is asdf still maintained?

Yes. Version 0.16 rewrote it in Go, removed asdf global and asdf local in favour of asdf set, and removed asdf update. Check its changelog on GitHub for the current release.

Do I still need direnv with mise?

Often not: [env] in mise.toml sets project variables when you enter the directory. Teams with existing .envrc files can keep direnv alongside it.

What was rtx?

mise's earlier name. Projects and articles that mention rtx are describing the same tool.

Sources

Tools change quickly: check versions, defaults and licence terms against each project’s own documentation before you decide.

Read next