跳转到内容
mise-en-place

你的开发环境,随时准备就绪

一个工具,管理每个项目的开发工具、环境变量和任务。

mise-en-place

开发工具、环境变量和任务,一站式 CLI

~/projects/orders · zsh
$ mise use node@24 [email protected]
mise [email protected] ✓ installed
mise [email protected] ✓ installed
mise ./mise.toml tools: [email protected], [email protected]
$ node --version
v24.18.0
$ mise run build
[build] $ tsc
更多安装方式

理念

万物各归其位,在你写代码之前

它会安装项目所需的工具,加载环境变量并运行任务——所有配置都集中在提交到代码仓库中的单个 mise.toml 文件里,因此每台机器都能获得相同的设置。

mise en place /meez ahn plahs/

1. 烹饪前对食材和工具进行收集与安排。

2. 一款多语言工具,将项目工具、环境变量和任务集中管理。

toml
# mise.toml
[tools]
node = "24"
python = "3.13"

[env]
_.file = ".env.local"

[tasks.test]
run = "pytest"

主厨特选

aube:快速的 Node.js 包管理器。

来自 mise 的作者。aube 可与现有 lockfile 配合使用——无需迁移。

食谱

四步完成设置。

$ curl https://mise.run | sh
 
$ mise --version
2026.7.0 linux-x64
$ mise use node@24 [email protected]
mise [email protected] ✓ installed
mise [email protected] ✓ installed
mise ./mise.toml tools: [email protected], [email protected]
$ cat .env.local
DATABASE_URL=postgres://localhost/orders
 
$ mise env -s bash
export DATABASE_URL='postgres://localhost/orders'
$ mise run test
[test] $ pytest
42 passed in 1.02s

随时待命

来吧,准备好你的工作台。

curl https://mise.run | sh