Query and lifecycle commands
pinset update
Re-resolve requested selectors and refresh exact lock records without changing selectors or installing runtimes.
View source on GitHub ↗| Field | Description |
|---|---|
| Purpose | Re-resolve requested selectors and refresh exact lock records without changing selectors or installing runtimes. |
| Syntax and arguments | `pinset update [tool] [--global |
| Modifies state | Yes, unless --dry-run; updates only the selected lockfile. |
| Example | pinset update node --cwd ./app --dry-run |
| JSON | Yes; command name update, with previous/resolved exact versions and requested selector. |
| Exit | 0 after comparison/write; 2 on scope, lock, or Provider metadata failure. |
| Key errors | Missing project/selection, invalid lock, unsupported tool, or unavailable metadata. |
/en/docs/commands/updatePinset 2.1