Query and lifecycle commands
pinset current
Show the effective project, global, or system runtime selection and executable.
View source on GitHub ↗| Field | Description |
|---|---|
| Purpose | Show the effective project, global, or system runtime selection and executable. |
| Syntax and arguments | pinset current [tool] [--cwd <path>] [--explain] [--json]; the default tool is Node.js. |
| Modifies state | No. |
| Example | pinset current python --cwd ./app |
| JSON | Yes; command name current, including both requested and exact version; --explain adds the resolution trace. |
| Exit | 0 when resolved; 2 when selection or installation is unusable. |
| Key errors | Unsupported tool, invalid config/lock, missing runtime, or blocked system fallback. |
/en/docs/commands/currentPinset 2.1