Skip to content
mise run, the theme song and music video

mise-en-place

Dev tools, env vars, and tasks in one CLI

mise is pronounced “meez”

mise installs a project's tools, sets its environment variables, and runs its tasks from one mise.toml that works in your shell, editor, and CI. With mise bootstrap, it can also set up a whole machine: packages, dotfiles, and services.

curl -fsSL https://mise.run | sh

macOS & Linux Installing on Windows?

mise.tomlExample configuration

# Tool versions for this project

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

Example output ~/my-project

$ mise install
✓ installed 2 tools in 6.2s: node@24.21.0, python@3.14.8
Explore tools
Open source, MIT licensed
  • macOS, Linux & Windows
  • Written in Rust
  • Releases several times a week

Showreel

  1. mise, at 0:00.
  2. Project switching, at 0:10: cd switches node to the version each project's mise.toml sets. One mise.toml per project: tools, env vars, and tasks. With mise activate, cd in, and its tools and env vars load. mise run ci runs the tasks in that environment.
  3. Dev tools, at 0:58: No jq? mise use jq installs it and adds it to mise.toml. 1,000+ tools by short name, from node to terraform.
  4. Environments, at 1:32: Leave, and mise restores the environment. .env files load too, with _.file.
  5. Tasks, at 1:54: ci depends on lint, test, build. They can run in parallel. Each output line is labeled with its task. With sources and outputs, up-to-date work is skipped.
  6. Dotfiles, at 2:32: mise dot track keeps a history. A watcher saves each edit. mise dot rollback restores an earlier version.
  7. Everywhere, at 3:12: mise.toml asks for 26. mise.lock records 26.13.0. Commit both. CI and other machines can use the same versions.
  8. A new machine, at 3:36: mise bootstrap --adopt restores your dotfiles and mise config. Then it starts the watcher and installs your global tools. On a fresh clone, mise run ci installs what mise.lock pins. Then its tasks run with the project's env vars.
  9. Install mise, at 4:38.

Switch between project environments

Activate mise in your shell once. From then on, entering a project puts its installed tool versions on your PATH and loads its environment variables. Leave the project and mise restores the environment for your new directory.

  • Shell activation for bash, zsh, fish, Nushell, PowerShell, and more
  • Shims for editors and scripts that never read your shell startup file
  • mise exec for scripts and containers, and a GitHub Action for CI
Active shell~/work/api
Node
22
APP_ENV
api
Choose a project to see its environment. Shell activation and installed tool versions are required.
mise.lockwritten by mise lock
[[tools.node]]
version = "24.21.0"
backend = "core:node"
 
[tools.node."platforms.linux-x64"]
checksum = "sha256:6e1db87ef58b…"
url = "https://nodejs.org/dist/v24.21.0/node-v24.21.0-linux-x64.tar.gz"
 
[tools.node."platforms.macos-arm64"]
checksum = "sha256:bed7eea5325e…"
url = "https://nodejs.org/dist/v24.21.0/node-v24.21.0-darwin-arm64.tar.gz"

Lock and verify what you install

node = "24" in mise.toml is a request. mise lock resolves it and writes the exact version to mise.lock, with the download URL and checksum for each platform you lock. Commit that file, and mise install --locked installs exactly what it records.

  • Checksums, signatures, and build attestations, where a tool publishes them, checked by mise itself with no gpg or cosign to install
  • A minimum release age: by default mise skips versions published in the last 24 hours when it chooses a version for a prefix such as node@24 or for latest, for backends that report release dates
  • Configuration trust: outside CI, a config that can run code loads only once you trust it, at the prompt or by running a command such as mise install or mise run in the project

Read the lockfile guide or the security overview.

Set up a machine with mise bootstrap

Declare the packages, repositories, dotfiles, and services a machine needs, then apply them with mise bootstrap. This setup belongs to the machine, not to a project, so it usually lives in your global config or in a repository of your own.

  • Packages from apt, dnf, pacman, Homebrew, scoop, winget, and other package managers
  • Dotfiles tracked in place with history you can roll back, or applied as symlinks, copies, and templates
  • Remote hosts over SSH with mise bootstrap remote

Set up a new machine from a repository that holds your mise.toml:

mise bootstrap --from git@github.com:you/dotfiles.git

Read the bootstrap guide or the dotfiles guide.

Declare your setupmise.toml[bootstrap.packages]
[bootstrap.repos]
[dotfiles]
[bootstrap.services]
mise bootstrap
Packagesbrew · apt · scoop · winget · choco
RepositoriesProject checkouts
DotfilesTrack · link · template
ServicesBackground processes
mise bootstrap --dry-run shows what changes before you apply it.

Run your first project task

  1. Step 1

    Install mise

    On macOS or Linux, run the installer. It puts mise in ~/.local/bin; if that is not on your PATH, type ~/.local/bin/mise in the next two steps. On Windows, run irm https://mise.run/powershell | iex in PowerShell. See Installing mise for other methods.

    $ curl -fsSL https://mise.run | sh
    $ ~/.local/bin/mise --version
  2. Step 2

    Try a tool

    mise exec installs Node.js 24 if needed and runs one command with it. Your shell and config files stay as they were.

    $ mise exec node@24 -- node --version
    v24.x.x
  3. Step 3

    Set up a project

    These commands write [tools], [env], and [tasks.hello] to the project's mise.toml. The task runs with the project's Node.js and NODE_ENV. Commit mise.toml so teammates and CI get the same setup.

    $ mkdir my-project && cd my-project
    $ mise use node@24
    mise ~/my-project/mise.toml tools: node@24.x.x
    $ mise set NODE_ENV=development
    $ mise tasks add hello -- node -p process.env.NODE_ENV
    $ mise run hello
    [hello] $ node -p process.env.NODE_ENV
    development
  4. Step 4 (optional)

    Activate mise in your shell

    Activation puts the project's tools and environment variables in your shell when you enter the project, so node works without mise exec. Run the commands for your shell once, then open a new shell. For PowerShell, Nushell, and others, see Shell setup.

    # bash
    $ echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc
    # zsh
    $ echo 'eval "$(~/.local/bin/mise activate zsh)"' >> "${ZDOTDIR:-$HOME}/.zshrc"
    # fish
    $ mkdir -p ~/.config/fish
    $ echo '~/.local/bin/mise activate fish | source' >> ~/.config/fish/config.fish

— Install mise

Allez. Prep your station.

curl -fsSL https://mise.run | sh

— Related project

Share Cargo builds with Mr Boxington

Give every Cargo checkout one shared, self-pruning compilation cache, locally and in CI.

mr-boxington.jdx.dev
MIT LicenseCopyright © 2026jdx.dev