Query and lifecycle commands
pinset uninstall
Remove one exact Pinset-owned runtime installation.
View source on GitHub ↗| Field | Description |
|---|---|
| Purpose | Remove one exact Pinset-owned runtime installation. |
| Syntax and arguments | pinset uninstall <tool>@<exact-version> [--force] [--cwd <path>] [--dry-run] [--json]. |
| Modifies state | Yes, unless --dry-run. Deletes only an installation with valid Pinset ownership evidence. |
| Example | pinset uninstall node@22.0.0 --dry-run --json |
| JSON | Yes; command name uninstall. |
| Exit | 0 for a completed plan/removal; 2 when protection blocks it or validation fails. |
| Key errors | Non-exact version, selected runtime still referenced, missing/invalid receipt, unsafe path, or non-owned installation. --force bypasses selection references, not ownership checks. |
/en/docs/commands/uninstallPinset 2.1