Lines Matching full:cache
1 .TH "NPM\-CACHE" "1" "April 2022" "" ""
3 \fBnpm-cache\fR \- Manipulates packages cache
8 npm cache add <tarball file>
9 npm cache add <folder>
10 npm cache add <tarball url>
11 npm cache add <name>@<version>
13 npm cache clean [<path>]
14 aliases: npm cache clear, npm cache rm
16 npm cache verify
21 Used to add, list, or clean the npm cache folder\.
25 Add the specified package to the local cache\. This command is primarily
27 add data to the local installation cache explicitly\.
30 Delete all data out of the cache folder\.
33 Verify the contents of the cache folder, garbage collecting any unneeded data,
34 and verifying the integrity of the cache index and all cached data\.
39 npm stores cache data in an opaque directory within the configured \fBcache\fP,
40 named \fB_cacache\fP\|\. This directory is a \fBcacache\fP\-based content\-addressable cache
45 All data that passes through the cache is fully verified for integrity on both
46 insertion and extraction\. Cache corruption will either trigger an error, or
48 automatically\. For this reason, it should never be necessary to clear the cache
53 the contents of this cache\. In order to access it, \fBcacache\fP must be used
56 npm will not remove data by itself: the cache will grow as new packages are
58 .SS A note about the cache's design
60 The npm cache is strictly a cache: it should not be relied upon as a persistent
63 delete corrupted contents\. The primary guarantee that the cache makes is that,
66 To run an offline verification of existing cache contents, use \fBnpm cache
69 .SS cache
71 Default: \fB~/\.npm\fP on Posix, or \fB%AppData%/npm\-cache\fP on Windows\.
73 The root cache folder\.