Query and lifecycle commands
pinset x
Resolve, verify, install, and run one Provider command without changing project/global selection state.
View source on GitHub ↗| Field | Description |
|---|---|
| Purpose | Resolve, verify, install, and run one Provider command without changing project/global selection state. |
| Syntax and arguments | pinset x <tool>@<selector> [--cwd <path>] -- <command> [args...]. The command must belong to the selected Provider. |
| Modifies state | Selection 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. |
| Example | pinset x node@24 -- node ./scripts/build.js |
| JSON | No; child stdout/stderr remains unwrapped. |
| Exit | Exact child exit code after launch; 2 if Pinset cannot resolve, verify, install, or launch it. |
| Key errors | Invalid 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