pinset2.1
中文
Query and lifecycle commands

pinset x

Resolve, verify, install, and run one Provider command without changing project/global selection state.

View source on GitHub
FieldDescription
PurposeResolve, verify, install, and run one Provider command without changing project/global selection state.
Syntax and argumentspinset x <tool>@<selector> [--cwd <path>] -- <command> [args...]. The command must belong to the selected Provider.
Modifies stateSelection state: No. Verified downloads, cache entries, installation receipts, and installed runtimes under PINSET_HOME may be created. The launched program may modify its own files or external state.
Examplepinset x node@24 -- node ./scripts/build.js
JSONNo; child stdout/stderr remains unwrapped.
ExitExact child exit code after launch; 2 if Pinset cannot resolve, verify, install, or launch it.
Key errorsInvalid selector, command/Provider mismatch, failed metadata or artifact verification, missing declared Provider dependency, unsupported platform, or process launch failure. pnpm requires a valid project/global Node.js selection.
/en/docs/commands/xPinset 2.1