Query and lifecycle commands
pinset which
Print the exact executable Pinset would use for a command.
View source on GitHub ↗| Field | Description |
|---|---|
| Purpose | Print the exact executable Pinset would use for a command. |
| Syntax and arguments | pinset which <command> [--cwd <path>] [--explain] [--json]. |
| Modifies state | No. |
| Example | pinset which node --json |
| JSON | Yes; command name which. With --explain, data.explanation includes the boundary, candidate chain, policy result, and traditional migration-only sources. |
| Exit | 0 when resolved; 2 when no usable command can be resolved. |
| Key errors | Unknown managed command, missing selected runtime, invalid lock, or no eligible system fallback. |
/en/docs/commands/whichPinset 2.1