pinset2.1
中文
Download cache commands

pinset cache import

Import a reviewed archive into the verified offline cache.

View source on GitHub
FieldDescription
PurposeImport a reviewed archive into the verified offline cache.
Syntax and arguments`pinset cache import <archive> (--sha256 <hex>
Modifies stateYes. Copies a matching archive under its content identity; does not install it.
Examplepinset cache import ./node.tar.xz --sha256 <reviewed-digest>
JSONNo.
Exit0 after a verified import; 2 on argument, digest, or write failure.
Key errorsMissing expected integrity, digest mismatch, invalid SRI/SHA-256, unsafe source, or cache write failure.
/en/docs/commands/cache-importPinset 2.1