pinset2.1
中文
Project and selection commands

pinset global

Show global selections or batch-set any combination of global runtime defaults.

View source on GitHub
FieldDescription
PurposeShow global selections or batch-set any combination of global runtime defaults.
Syntax and argumentspinset global [<tool>@<selector>...] [--no-install]. With no selections it remains read-only; --no-install requires at least one selection. A Provider may appear only once per batch.
Modifies stateWithout selections: No. With selections: Yes. Pinset resolves the complete batch before one config/lock update, preserves unmentioned selections, then performs one locked installation pass unless --no-install is used.
Examplepinset global node@lts python@latest rust@stable
JSONNo.
Exit0 success; 2 on Pinset failure.
Key errorsDuplicate/unsupported Provider, invalid selector, unavailable metadata, untrusted manifest, dependency or policy failure, download/integrity failure, or unsupported target. A pre-commit failure changes no selection; an installation failure retains the complete new lock and reports the global locked-install retry command.
/en/docs/commands/globalPinset 2.1