pinset2.1
中文
Query and lifecycle commands

pinset which

Print the exact executable Pinset would use for a command.

View source on GitHub
FieldDescription
PurposePrint the exact executable Pinset would use for a command.
Syntax and argumentspinset which <command> [--cwd <path>] [--explain] [--json].
Modifies stateNo.
Examplepinset which node --json
JSONYes; command name which. With --explain, data.explanation includes the boundary, candidate chain, policy result, and traditional migration-only sources.
Exit0 when resolved; 2 when no usable command can be resolved.
Key errorsUnknown managed command, missing selected runtime, invalid lock, or no eligible system fallback.
/en/docs/commands/whichPinset 2.1