Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

mise

> 编程语言
Open source

dev tools, env vars, task runner

31.4K stars0 likes2 views
WebsiteGitHub

About

dev tools, env vars, task runner

What is mise?

mise manages your development tools, environment variables, and project tasks. Declare them in mise.toml, commit the file, and use the same setup in your shell, your editor, and CI.

  • Tools: install Node.js, Python, Go, and hundreds more, with different versions for each project.
  • Environments: set project environment variables and load .env files.
  • Tasks: run build, test, and other commands with the tools and environment they need.
  • Bootstrap: declare machine setup, including system packages, dotfiles, and services.

Use the parts you need. Start with one tool or task and add more to the same config.

Quickstart

1. Install mise

On macOS or Linux:

bash
curl https://mise.run | sh
~/.local/bin/mise --version

On Windows, install with winget install jdx.mise. See the installation guide for package managers and other installation methods.

The examples below use mise. If it isn't on your PATH yet, use ~/.local/bin/mise instead on macOS or Linux.

2. Try a tool

bash
mise exec node@24 -- node --version

This installs Node.js if needed and runs it for this command, without changing your project configuration. No shell activation is required.

For an existing project that already has a reviewed mise.toml, run mise install from its directory and mise tasks ls to discover its tasks.

3. Give a project its own environment

In a project directory, create mise.toml:

toml
[tools]
node = "24"

[env]
NODE_ENV = "development"

[tasks.hello]
description = "Print the project's Node.js version and environment"
run = '''node -e "console.log(process.version, process.env.NODE_ENV)"'''

Run the task:

bash
mise run hello

mise installs the configured tool if needed, loads NODE_ENV, and runs the task. The output includes the Node.js version and development. Commit mise.toml so teammates and CI can run the same command.

To add tools later, run mise use [email protected] from the project directory. Use mise use --global to set personal defaults. Version requests such as "24" select a release in that series; use exact pins or a lockfile when you need everyone to use the same resolved version.

4. Activate your shell (optional)

Activation makes project tools and environment variables available directly when you enter a directory. For an installation from mise.run, add one of these lines to the corresponding shell config:

bash
# ~/.bashrc
eval "$(~/.local/bin/mise activate bash)"
bash
# ~/.zshrc
eval "$(~/.local/bin/mise activate zsh)"
fish
# ~/.config/fish/config.fish
~/.local/bin/mise activate fish | source

Restart your shell, then run node --version inside the project. For PowerShell and other installation methods, follow the shell setup guide.

Check your project setup

bash
mise config ls
mise ls --current
mise exec -- node --version

These show which configuration files are loaded, which versions are selected, and whether the tool runs in the project environment. If mise exec works but node --version does not, check shell activation with mise doctor.

Where to go next

I want to… Read
Set up mise for the first time Getting started
Add mise to an existing project Walkthrough
Understand configuration and overrides Configuration
Use mise in an editor or CI IDE integration · Continuous integration
Find a command or solve a problem CLI reference · Troubleshooting
Contribute to mise Contributing · Writing docs

Demo

Watch mise install tools and switch Node.js versions as you change directories. A text transcript is also available.

GitHub Issues & Discussions

Use GitHub Discussions for support and feature requests. GitHub Issues are not used for new reports.

  • Troubleshooting & Bug Reports: include a minimal config, the command you ran, expected behavior, and relevant error output. See the troubleshooting guide first.
  • Ideas: suggest a feature or describe a workflow mise could support.
  • Announcements: follow project updates.

Special Thanks


Thanks to Namespace for providing CI services for mise.

Contributors

Issues· 22 open

View all issuesOpen on GitHub
  • #13678

    Install layout: full-named, hash-addressed installs, and verifying cached installs

    Updated Sep 30, 2026
  • #13851

    Per-tool libc for aqua tools not working ?

    Updated Sep 30, 2026
  • #13850

    Aqua SLSA migration: existing OSV lock fails in 2026.9.17, signer fields rejected by Aqua schema

    Updated Sep 30, 2026
  • #13712

    Track upstream packslip adoption and registry switches

    Updated Sep 27, 2026
  • #13708

    Adopt packslip 1.5 forge-identity API

    Updated Sep 27, 2026
  • #13655

    Mise thinks 1password-cli is a homebrew package instead of a cask

    Updated Sep 26, 2026
  • #13653

    bootstrap: apt packages fail on a freshly installed machine because apt-get update never runs

    Updated Sep 26, 2026
  • #13649

    exec_auto_install=false is ignored for tools declared in config; falls back to PATH with only a warning

    Updated Sep 26, 2026

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言