Back to terminal directory

CLI tools · Dev environments

mise

One mise.toml for a project's tool versions, environment variables and tasks. Reads asdf, nvm and pyenv files.

Open sourceRust
Official site
Short answer

mise (pronounced meez, as in mise en place) is a free, open-source command-line tool by Jeff Dickey (jdx) that manages three things from one mise.toml file: the versions of developer tools such as Node, Python, Go and Terraform, project environment variables, and tasks you run with mise run. It replaces version managers such as asdf, nvm and pyenv, reads existing .tool-versions files, and can read .nvmrc and .python-version when you turn that on. It is written in Rust and released under the MIT license. Install it with curl -fsSL https://mise.run | sh or brew install mise, add mise activate to your shell config, then run mise use node@24 in a project.

License
MIT
GitHub, jdx/mise
Written in
Rust
mise.jdx.dev
Tool registry
1,000+ tools
mise docs, registry
Config file
mise.toml, per project, plus ~/.config/mise/config.toml
mise docs, configuration

Updated October 21, 2026How we evaluate tools

mise guide: install, mise.toml, tool versions, env vars and tasks

Most developers end up with a pile of version managers: nvm for Node, pyenv for Python, something else for Go or Terraform, plus direnv for environment variables and a Makefile for scripts. mise puts all of that in one tool and one file. Jeff Dickey, who goes by jdx, started it in 2023 as rtx, a faster rewrite of asdf, then renamed it mise in 2024. The name comes from the kitchen phrase mise en place, everything in its place.

It has since become one of the most used version managers, especially in teams that work across several languages. It is written in Rust and released under the MIT license.

Installing mise

MethodCommand
Install scriptcurl -fsSL https://mise.run | sh
Homebrewbrew install mise
Windowswinget install jdx.mise or scoop install mise
Linux packagesapt, dnf, pacman and others, see the docs

Then activate it in your shell:

ShellLine
basheval "$(mise activate bash)" in ~/.bashrc
zsheval "$(mise activate zsh)" in ~/.zshrc
fishmise activate fish | source in config.fish

Open a new shell and run mise doctor to confirm everything works.

Pinning tools in a project

In a project folder:

mise use node@24 python@3.14

This installs both versions and writes a mise.toml:

[tools]
node = "24"
python = "3.14"

Commit this file. Anyone with mise who enters the folder gets the same versions, and mise install installs any that are missing. To set a default version everywhere, use mise use -g node@24, which writes to ~/.config/mise/config.toml.

Useful commands:

CommandWhat it does
mise use tool@versionInstall and pin a tool in the current project
mise installInstall everything the config asks for
mise ls --currentShow which versions are active here
mise exec -- node --versionRun one command with the project's tools, without activation
mise upgradeUpgrade tools to the newest versions your config allows
mise config lsShow which config files are in effect
mise doctorDiagnose setup problems

Trusting project config

A mise.toml with [env], hooks, templates or settings can run code or change your environment, so mise loads it only once it is trusted. Files you write yourself with mise use or mise set are trusted, and so is a project where you run mise install, mise exec or mise run. For a repository from someone else, read its mise.toml, tasks included, before running those commands or mise trust. This matters more when an AI agent clones and sets up projects for you.

Where tools come from

mise looks up short names such as node, terraform or jq in a registry of more than 1,000 tools. Each entry maps to a backend that knows how to download it:

  • Core plugins for Node, Python, Ruby, Go, Java, Rust and a few others.
  • aqua and GitHub releases for prebuilt binaries.
  • cargo, npm, pipx and go for tools published as language packages, such as npm:prettier or pipx:black.
  • asdf plugins for anything else, kept for compatibility.

You can name a backend directly, for example mise use github:BurntSushi/ripgrep.

How config files combine

mise merges config from several places, with the most specific winning:

  1. System config in /etc/mise.
  2. Your global config in ~/.config/mise/config.toml.
  3. Each mise.toml from the filesystem root down to the current folder.
  4. Global override files, config.override.toml, which beat everything above.

In each project folder, a mise.local.toml overrides mise.toml and is meant for personal settings kept out of git. Values merge per tool and per variable rather than replacing whole files. Run mise config ls to see the list for the folder you are in. This lets a monorepo set shared versions at the top and override them in one service.

Environment variables

The [env] section sets variables when you enter the folder and unsets them when you leave:

[env]
NODE_ENV = "development"
DATABASE_URL = "postgres://localhost/myapp"
_.path = ["./node_modules/.bin"]
_.file = ".env"

_.path adds folders to PATH and _.file loads a dotenv file. Keep secrets in files that git ignores, or in mise.local.toml. An experimental secrets feature can decrypt encrypted values. Run mise env to print what mise would set.

Tasks

Tasks give a project one place for its scripts:

[tasks.dev]
run = "npm run dev"

[tasks.test]
run = "pytest -q"
depends = ["lint"]

[tasks.lint]
run = "ruff check ."
sources = ["src/**/*.py"]

mise run test runs lint first, then the tests, with the project's Python version and environment loaded. With sources set, mise skips a task when the files have not changed. Longer tasks can be executable scripts in a mise-tasks/ folder. mise tasks ls lists everything.

Moving from asdf, nvm or pyenv

From asdf. Install mise and activate it. Your .tool-versions files work as they are. Remove asdf's lines from your shell config so the two do not both change PATH. You can convert to mise.toml later with mise use in each project.

From nvm or pyenv. Turn on idiomatic files so mise reads .nvmrc or .python-version:

mise settings add idiomatic_version_file_enable_tools node
mise settings add idiomatic_version_file_enable_tools python

Then remove nvm or pyenv from your shell startup. Shell startup often gets noticeably faster, because nvm in particular is slow to load.

Lockfiles and safer installs

A lockfile records the exact version and checksum of each tool, so every machine and CI run installs the same build. Create one with mise lock and commit mise.lock. A version such as "24" is a prefix, so without a lockfile two machines can resolve it to different Node 24 releases. Setting min_version in mise.toml makes older mise releases refuse to run a config they cannot read. Some backends support a minimum_release_age option, which skips tool versions published in the last few days and so reduces the risk of installing a compromised release.

Setting up a whole machine

mise has a mise bootstrap command for setting up a new machine from one config, covering packages, dotfiles and services as well as tools. Experimental [daemons] and [hooks] sections let you start background services and run commands when you enter a project. These parts are newer than version management, so check the docs before relying on them across a team.

mise and AI coding agents

AI agents run commands in your project and often hit version problems: the wrong Node version, a missing tool, or an environment variable not set. mise helps in two ways. If your shell has mise activated, agents that run commands through it get the project's tools. If an agent starts a non-interactive shell where activation does not run, tell it to prefix commands with mise exec --, or add a line to your project's agent instructions file, such as AGENTS.md or CLAUDE.md, saying so. Tasks help too: mise run test gives an agent one documented command to run instead of guessing.

Limits

PATH changes happen at the prompt. Activation updates PATH when the prompt draws, so scripts and IDEs that do not start a shell may not see the right tools. Use mise exec, the shims mode, or your editor's mise extension.

Many backends, varying quality. Most tools install cleanly. Some asdf plugins are old or slow.

A lot of features. You can ignore tasks and env vars and use mise only for versions.

mise compared with other tools

ToolTool versionsEnv varsTasksNotes
miseMany languagesYesYesOne file, fast, asdf compatible
asdfMany languages, through pluginsNoNoShims, slower startup
nvm, pyenvOne language eachNoNoSimple, but one tool per language
direnvNoYesNoOften paired with asdf
Nix, devboxYes, fully reproducibleYesSomeStronger guarantees, steeper learning curve

Choose mise if you work in more than one language or want one file that sets up a project. Pair it with fish or Starship, which shows the active versions in your prompt. See the terminal tools guide for more.

Frequently asked questions

What does mise replace?

mise covers the jobs of several tools. For tool versions it replaces asdf, nvm, pyenv, rbenv, goenv and similar managers. For environment variables it covers much of what direnv does in a project. For tasks it can replace a Makefile or npm scripts used as a task runner. You can adopt any one part and keep your other tools for the rest.

How do I install mise?

Run curl -fsSL https://mise.run | sh, or use brew install mise on macOS, winget or Scoop on Windows, or your Linux package manager. Then add activation to your shell: eval "$(mise activate zsh)" in ~/.zshrc, eval "$(mise activate bash)" in ~/.bashrc, or mise activate fish | source in config.fish. Run mise doctor to check the setup.

Does mise work with my existing .tool-versions or .nvmrc files?

mise reads asdf's .tool-versions files as they are, so a team can switch without changing the repository. Idiomatic version files such as .nvmrc, .node-version, .python-version and .ruby-version are supported for each language, but you turn them on in settings with idiomatic_version_file_enable_tools, for example for node and python.

How is mise different from asdf?

mise started as a Rust rewrite of asdf and stays compatible with its config file and plugins, but changes how it works. It modifies PATH directly instead of using shims by default, which makes commands start faster. It uses its own backends, such as aqua, GitHub releases, cargo, npm and pipx, so many tools install without an asdf plugin. It also adds environment variables, tasks and lockfiles, which asdf does not have.

How do mise tasks work?

Define tasks in a [tasks] section of mise.toml with a run command, or as executable scripts in a mise-tasks folder. Run them with mise run name, or mise name if no command shares the name. Tasks run with the project's tools and environment variables loaded, can depend on other tasks, run in parallel, and skip work when declared sources have not changed since the last run.

Sources

  1. mise documentation
  2. mise getting started
  3. mise configuration
  4. mise tasks
  5. mise on GitHub