pinset2.1
EN
Pinset 2.1

Pinset多语言运行时版本管理器

一个行为可预测、理解项目边界的多语言运行时版本管理器。

用一份锁文件固定整个项目。

完成一次 Shell 初始化后,项目里的 node、python、cargo、flutter 等命令会直接路由到锁定版本。

终端
pinset init
pinset use node@24 pnpm@11 python@3.14 --no-install
pinset install --locked
node --version

意图与精确结果,分别记录。

pinset.toml用户意图与项目策略node = "24" · boundary = "git"
pinset.lock精确版本与制品信息version · URL · checksum · platform
shim直接命令路由node · python · cargo · flutter

九类工具,同一种工作方式。

Node.jsnode · npm · npx
pnpmpnpm
Bunbun · bunx
Gogo · gofmt
Pythonpython · pip
JavaTemurin JDK
Rustcargo · rustc
.NETdotnet
Flutterflutter · dart

没有声明,就不静默猜测。

项目默认不继承全局版本、不回退系统 PATH。联网安装、传统版本文件导入与系统回退都必须显式发生。

可解释current --explainwhich --explaindoctor 会说明最终选择和失败位置。

每一个命令,都有完整说明。

命令页包含用途、语法、状态修改、示例、JSON 支持、退出码和关键错误。