Download cache commands
pinset cache import
Import a reviewed archive into the verified offline cache.
View source on GitHub ↗| Field | Description |
|---|---|
| Purpose | Import a reviewed archive into the verified offline cache. |
| Syntax and arguments | `pinset cache import <archive> (--sha256 <hex> |
| Modifies state | Yes. Copies a matching archive under its content identity; does not install it. |
| Example | pinset cache import ./node.tar.xz --sha256 <reviewed-digest> |
| JSON | No. |
| Exit | 0 after a verified import; 2 on argument, digest, or write failure. |
| Key errors | Missing expected integrity, digest mismatch, invalid SRI/SHA-256, unsafe source, or cache write failure. |
/en/docs/commands/cache-importPinset 2.1