# Mise — Dev Environment Manager for AI Projects > Universal dev tool version manager replacing nvm, pyenv, and rbenv. Mise manages Node.js, Python, Go, Rust, and 100+ tools with project-level version pinning and env vars. ## Install Save as a script file and run: ## Quick Use ```bash # Install curl https://mise.run | sh # Use Node.js 22 mise use node@22 # Use Python 3.12 mise use python@3.12 # Pin versions per project cd my-project mise use node@20 python@3.11 # Creates .mise.toml — team members get same versions ``` ## What is Mise? Mise (pronounced "meez") is a universal dev tool version manager that replaces nvm, pyenv, rbenv, and dozens of other version managers with a single tool. It manages 100+ languages and tools with project-level version pinning, environment variables, and task running. For AI projects that need specific Python, Node.js, and tool versions, mise ensures everyone on the team uses the same setup. **Answer-Ready**: Mise is a universal dev tool manager replacing nvm/pyenv/rbenv. Manages 100+ tools (Node.js, Python, Go, Rust, etc.) with project-level version pinning. Also handles env vars and task running. Written in Rust, blazing fast. 13k+ GitHub stars. **Best for**: Teams needing consistent dev environments across AI projects. **Works with**: Any language, any tool, any OS. **Setup time**: Under 2 minutes. ## Core Features ### 1. Universal Version Management ```bash mise use node@22 # Node.js mise use python@3.12 # Python mise use go@1.22 # Go mise use rust@1.78 # Rust mise use java@21 # Java mise use terraform@1.8 # Terraform mise use kubectl@1.30 # kubectl # 100+ more tools supported ``` ### 2. Project-Level Pinning (.mise.toml) ```toml # .mise.toml (commit to git!) [tools] node = "20" python = "3.11" uv = "latest" [env] DATABASE_URL = "postgresql://localhost/mydb" NODE_ENV = "development" [tasks.dev] run = "npm run dev" [tasks.test] run = "pytest" ``` ### 3. Environment Variables ```toml [env] API_KEY = "{{env.API_KEY}}" DATABASE_URL = "postgresql://localhost/{{env.DB_NAME}}" ``` ### 4. Task Runner ```bash mise run dev # npm run dev mise run test # pytest mise run lint # eslint + ruff ``` ```toml [tasks.lint] depends = ["lint:js", "lint:py"] [tasks."lint:js"] run = "npx eslint src/" [tasks."lint:py"] run = "ruff check ." ``` ### 5. Speed (Rust) | Operation | mise | nvm | pyenv | |-----------|------|-----|-------| | Shell startup | <1ms | ~200ms | ~150ms | | Version switch | Instant | ~100ms | ~500ms | | Install | Fast | Moderate | Slow | ## Mise vs Alternatives | Feature | Mise | nvm+pyenv | asdf | Volta | |---------|------|-----------|------|-------| | Languages | 100+ | 1 each | 100+ | Node only | | Speed | Rust-fast | Slow | Shell-slow | Fast | | Env vars | Yes | No | No | No | | Task runner | Yes | No | No | No | | Config | .mise.toml | .nvmrc/.python-version | .tool-versions | package.json | ## AI Project Example ```toml # .mise.toml for a typical AI project [tools] python = "3.11" node = "20" uv = "latest" [env] OPENAI_API_KEY = "{{env.OPENAI_API_KEY}}" ANTHROPIC_API_KEY = "{{env.ANTHROPIC_API_KEY}}" [tasks.install] run = "uv pip install -r requirements.txt && npm install" [tasks.dev] run = "python main.py" [tasks.test] run = "pytest tests/" ``` ## FAQ **Q: Does it replace Docker for dev environments?** A: For language/tool versions, yes. For full environment isolation (databases, services), Docker is still needed. **Q: Is .mise.toml compatible with .tool-versions?** A: Yes, mise reads .tool-versions (asdf format), .nvmrc, and .python-version files. **Q: Does Claude Code work with mise?** A: Yes, mise-managed tools are available in Claude Code's terminal. Just ensure mise is activated in your shell profile. ## Source & Thanks > Created by [Jeff Dickey](https://github.com/jdx). Licensed under MIT. > > [jdx/mise](https://github.com/jdx/mise) — 13k+ stars ## 快速使用 ```bash curl https://mise.run | sh mise use node@22 python@3.12 ``` 一个工具管理所有语言版本。 ## 什么是 Mise? 通用开发工具版本管理器,一个工具替代 nvm/pyenv/rbenv,管理 100+ 工具的版本、环境变量和任务。 **一句话总结**:通用版本管理器,替代 nvm/pyenv/rbenv,100+ 工具 + 项目级版本锁定 + 环境变量 + 任务运行器,Rust 极速,13k+ stars。 **适合人群**:需要一致开发环境的 AI 项目团队。 ## 核心功能 ### 1. 版本管理 — 100+ 工具一个命令 ### 2. 项目锁定 — .mise.toml 提交 git ### 3. 环境变量 — 项目级 env 管理 ### 4. 任务运行 — 内置 task runner ## 常见问题 **Q: 和 asdf 比?** A: mise 兼容 .tool-versions,但 Rust 写的更快,还有 env vars 和 task runner。 ## 来源与致谢 > [jdx/mise](https://github.com/jdx/mise) — 13k+ stars, MIT --- Source: https://tokrepo.com/en/workflows/4d69840d-d7dc-4e79-ba44-5ef3e1dc8e76 Author: Script Depot