3 phút đọc
jdx/mise: dev tools, env vars, task runner – Repository jdx/mise. Mô tả: dev tools, env vars, task runner. 34294 stars, 1450 forks, ngôn ngữ chính Rust, cập nhật 2026-09-25.
1. Repository làm gì?
Dev tools, env vars, and tasks in one CLI
Getting Started • Documentation • Dev Tools • Environments • Tasks
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.
Use the parts you need. Start with one tool or task and add more to the same config.
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. Dữ liệu và cấu trúc đáng chú ý
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:
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 python@3.14 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)
3. Khả năng ứng dụng và giới hạn
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:
Restart your shell, then run node –version inside the project. For PowerShell and other installation methods, follow the shell setup guide.
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.
Watch mise install tools and switch Node.js versions as you change directories.
A text transcript is also available.
Report bugs in GitHub Issues. Use GitHub Discussions for questions and feature ideas.
Thanks to Namespace for providing CI services for mise.
Số liệu repository có thể thay đổi; nên mở liên kết nguồn để kiểm tra README, giấy phép và trạng thái phát hành.
Nguồn tham khảo: Xem bài gốc