Skip to content

Dev tools ​

mise installs tools such as Node.js, Python, and Go, and selects their versions for each project. Declare the versions a project uses in mise.toml, and mise puts them on PATH while you work in that directory.

Add a tool to a project ​

From the project directory:

sh
mise use node@24 python@3.14

This installs both tools and records the version requests in the project's config:

mise.toml
[tools]
node = "24"
python = "3.14"

Run a command with those tools:

sh
mise exec -- node --version
# v24.x.x

With shell activation, you can run node --version directly, and mise switches versions as you move between projects. After you clone a repository or edit its mise.toml, run mise install to install the tools it declares.

Everyday commands ​

GoalCommand
Add or change a project's tool versionmise use node@24
Set a personal defaultmise use --global node@24
Install the tools a project declaresmise install
Also install the tools its tasks needmise install --include-task-tools
Run a version once without saving itmise exec node@24 -- node --version
Show the tools this directory usesmise ls --current
List the versions you can installmise ls-remote node
Show which executable a command runsmise which node
Show tools with newer versionsmise outdated
Upgrade within the configured requestmise upgrade node
Upgrade and rewrite the requestmise upgrade --bump node
Remove a tool from the projectmise unuse node
Delete an installed versionmise uninstall node@22

mise use installs a version and writes the request to the project's mise.toml. Add --pin to write the resolved version instead, --global to write a personal default to ~/.config/mise/config.toml, or --path to choose the file; see which file mise writes to. mise use cannot change the shell it runs in: activation applies the change at the next prompt, and mise exec and tasks read it each time.

mise install installs tools without changing any config:

  • mise install node@24.11.1 installs that version.
  • mise install node@24 installs the newest 24.x release.
  • mise install node installs the version the config selects.
  • mise install installs every configured tool except tools marked lazy = true; add --include-lazy to install those too.
  • mise install --include-task-tools also installs the tools that tasks in the current scope need, without running them, which warms CI, container, or offline caches. Add --monorepo to include every configured monorepo root.

mise exec reads the same config files, so without activation or shims you can prefix any command with mise exec --. An alias such as alias mx='mise exec --' saves typing. mise run loads the same tools and environment for tasks.

How mise selects a tool ​

  1. mise reads mise.toml and other config files from the current directory, its parents, and your global config. A file closer to the current directory overrides one further up; see config file locations.
  2. The registry maps a short name such as node to a backend, which lists versions and installs the tool.
  3. The backend resolves the version request, such as 24 or latest. mise reuses an installed version that matches before it looks for a newer one, and a lockfile can fix the result.
  4. mise puts the selected tools on PATH for the command, task, or shell. mise exec and mise run install missing tools first.

Each version is installed once, under ~/.local/share/mise/installs/<tool>/<version>, and every project that selects it uses that copy; see Directories.

mise also reads .tool-versions files. Version files from other tools, such as .nvmrc and .python-version, need idiomatic version files turned on. If you are coming from asdf, see Migrating from asdf. Run mise config ls to see which config files apply in a directory.

Shells, editors, and scripts ​

  • In an interactive shell, activate mise so PATH and project environment variables update at each prompt.
  • In editors and IDEs, use shims or an editor integration where a program needs a stable executable path.
  • In scripts and CI, run mise exec -- <command> or mise run <task>; see Continuous integration.

Shims compares the three approaches.

Upgrade tools ​

mise outdated lists configured tools with a newer release that matches their request. Add --bump to compare against the newest release overall.

mise upgrade installs the newest release within each request. With node = "24" in mise.toml, mise upgrade node installs the newest 24.x and leaves mise.toml alone. When the project uses a lockfile, mise updates mise.lock to the new version.

--bump upgrades to the newest release and rewrites the request with the same precision: node = "24" becomes node = "26", and node = "24.11.1" becomes the newest exact version. When you name a request, as in mise upgrade --bump node@latest, mise writes that request instead.

sh
mise upgrade --dry-run      # show what would change
mise upgrade --interactive  # pick tools from a list
mise upgrade --bump --no-global # bump only tools in project config
mise upgrade --global       # upgrade only tools in global config

--global upgrades the global config's requests even inside a project that sets its own version of a tool, and never changes project config or lockfiles. mise outdated --global reports what it would install. Tools that update themselves use these two commands; see Self-updating tools.

After an upgrade, mise schedules the version it replaced for removal once upgrade.prune_after has passed, so running programs can keep using it. Pass --prune to remove it now, or --no-prune to keep it; set upgrade.auto_prune to false to keep replaced versions by default.

Automatic tool updates ​

A tool in your global config (~/.config/mise/config.toml) can keep itself up to date. Set auto_update on its entry:

~/.config/mise/config.toml
[tools]
claude = { version = "latest", auto_update = true }
node = { version = "24", auto_update = "6h" }

When a shim or mise exec is about to run the tool and mise has not checked for an update within the interval, it runs mise upgrade for that tool first, showing the usual install progress, then runs the new version. Updates stay within the request: node = "24" gets the newest 24.x, never 26. If the update fails or you are offline, mise warns and runs the version you have.

In a shell with mise activate, tools run straight from PATH, so nothing sits between you and the command. Instead, when the shell prompt appears and a tool's check is due, mise starts the update in the background and the prompt does not wait. Commands use the new version once the update has finished and the shell has refreshed its environment, which happens at a prompt. Its output is discarded; if it fails, mise doctor shows the error.

auto_update = true checks every tool_update.check_duration. A duration such as "6h" sets that tool's own interval. Intervals under one hour are raised to one hour.

To have the tools update with the newest mise, set tool_update.self_update_first along with self_update.auto. Each automatic update pass then updates mise first, and skips the tools, with the error in mise doctor, if that fails.

To update every tool in your global config without marking each one, set tool_update.global_auto to true or an interval. A tool's own auto_update still wins, so auto_update = false opts it out:

~/.config/mise/config.toml
[settings]
tool_update.global_auto = "12h"

[tools]
claude = "latest"
node = { version = "24", auto_update = "6h" }
python = { version = "3.13", auto_update = false }

A 24h delay can mean up to 48h

Updates respect minimum_release_age, which defaults to 24h for every backend. A release becomes eligible 24 hours after publishing, and mise only notices it at the next check, so an update lands 24 to 48 hours after a release if you launch the tool at least once per check interval, and later if you don't. This holds only for a backend that reports release dates. A release it cannot date is not held back, and mise warns when it installs one.

To wait longer, set minimum_release_age on the tool:

~/.config/mise/config.toml
[tools]
node = { version = "24", auto_update = "6h", minimum_release_age = "3d" }

When updates run and what they change ​

  • Only global config can turn this on. A project config cannot, and when a project sets its own version of the tool, runs in that project do not update it.
  • A launch checks only the tool being run: mise exec -- npm test does not update claude. In an activated shell, a prompt checks every opted-in tool whose interval has elapsed. Tasks never update tools.
  • Exact versions such as node = "24.11.1" are never updated. If a global lockfile (mise lock --global) pins the tool, the update moves the lock entry to the new version. A project's config and lockfile are never changed.
  • Only installed tools are updated. A tool with no installed version, such as a lazy tool nobody has run yet, is left alone until something installs it.
  • No updates run offline, in CI, or with locked = true.
  • The previous version is pruned on the same schedule as after mise upgrade.
  • If the last update of a tool failed, mise doctor shows the error.

Update on a schedule ​

To check on a schedule instead of at launches and prompts, so tools stay current even when you are not using a shell, declare the tool-update service in your global config and run mise bootstrap services apply:

~/.config/mise/config.toml
[bootstrap.services.mise-tool-update]
builtin = "tool-update"

The service checks once an hour and updates each tool when its interval is due. While it runs, launches and prompts do not update tools themselves. See user services.

Remove tools ​

CommandEdits configDeletes installed versions
mise unuse nodeRemoves the requestVersions that no tracked config or tool stub still needs
mise uninstall node@22NoThat version; --all deletes every version of the tool
mise pruneNoEvery version that no tracked config or tool stub still needs

mise unuse edits the first loaded config that declares the tool, or the file you pick with --path, --global, or --env. A version argument matches the request as written, so node = "24" is removed with mise unuse node@24, not with the resolved version. Add --no-prune to keep the installations.

mise uninstall deletes installations and leaves config alone, so a tool that is still configured installs again on the next mise install.

mise prune deletes versions that no config file mise has used, and no tool stub that has run, still needs. mise records those files in ~/.local/state/mise/tracked-configs and tracked-stubs. It keeps versions that a running process started from. Run mise ls --prunable or mise prune --dry-run to see what it would delete.

A recorded file that is deleted stops protecting its versions straight away. mise forgets it a week later unless it comes back, or at once when you run mise prune. mise also forgets a file that no mise command has loaded or run for prune.forget_unused_after (90 days by default). A project you come back to after that is recorded again the next time you run mise in it; run mise install there to reinstall any tools that were pruned meanwhile.

Automatic installation ​

When a configured tool is missing, mise can install it instead of failing. Setting auto_install to false turns off the first four cases below, and auto_install_disable_tools lists tools they skip. A lazy tool still installs on first use.

When you runmise installsControlled by
mise execMissing tools the config selectsexec_auto_install
mise runMissing tools the task needstask.run_auto_install
An unknown command in an activated shell, or a shim for a missing versionThe configured tool that provides the commandnot_found_auto_install
An unknown command that no config mentionsThe one registry tool that provides it, added to global confignot_found_auto_install_registry, off by default
A command of a lazy toolThat tool, on first uselazy = true on the tool

With auto-install off, mise exec warns that the tool is missing and runs whatever copy of the command is on PATH. The command-not-found handler finds tools through the registry's command names, so it cannot install a tool declared with a raw backend such as cargo:some-crate until a version of it is installed; see troubleshooting.

Tool options ​

Write a tool as a table instead of a version string to set options on it. Some options work with every tool, such as os, depends, and postinstall; others belong to the tool's backend:

mise.toml
[tools]
# install ripgrep only on Linux and macOS
ripgrep = { version = "15", os = ["linux", "macos"] }
# run a command each time mise installs a Node.js version
node = { version = "24", postinstall = "corepack enable" }

Tool options lists the options every tool accepts and covers the command-line form, templates, tool dependencies, and what mise does with an option a backend does not read. Options that belong to one backend are on each backend page.

System installations ​

mise install --system installs a tool into a shared directory, /usr/local/share/mise/installs by default, so every user account on the machine can use one copy. Run it as your normal user; on Unix, mise calls sudo only to write into the protected directory. See System installs for supported backends, directories, and sudo settings.

Caching ​

mise reuses a tool's list of remote versions for a while: up to the tool's minimum_release_age when installing, and for fetch_remote_versions_cache when reporting what is newest. Run mise cache clear <tool> to refresh it. See Caches, and slow shell prompts if activation feels slow.

Next steps ​

  • Version requests and version files covers request syntax, how a request resolves, and .tool-versions, .nvmrc, and similar files.
  • Registry lists the short tool names mise knows, and Backends explains how to install a tool that has no short name, such as github:owner/repo.
  • Core tools links to the guides for Node.js, Python, Go, and the other languages mise installs itself.
  • Lockfile records resolved versions and checksums so everyone gets the same builds.
  • Shims covers editors and other programs that never see an activated shell, lazy tools, and command wrappers.
  • Git provider tokens covers GitHub rate limits and installs from private repositories.
  • Tool aliases point a tool name at another backend or give a version request a name.
  • Tool stubs are committed executable files that each install and run one tool.
MIT LicenseCopyright © 2026jdx.dev