Lines Matching full:cache
1 .TH "NPM-CACHE" "1" "July 2023" "" ""
3 \fBnpm-cache\fR - Manipulates packages cache
8 npm cache add <package-spec>
9 npm cache clean \[lB]<key>\[rB]
10 npm cache ls \[lB]<name>@<version>\[rB]
11 npm cache verify
18 Used to add, list, or clean the npm cache folder.
21 …local cache. This command is primarily intended to be used internally by npm, but it can provide a…
23 clean: Delete all data out of the cache folder. Note that this is typically unnecessary, as npm's c…
25 …y: Verify the contents of the cache folder, garbage collecting any unneeded data, and verifying th…
30 …cache data in an opaque directory within the configured \fBcache\fR, named \fB_cacache\fR. This di…
32 …cache is fully verified for integrity on both insertion and extraction. Cache corruption will eith…
34 …od exposed through npm to inspect or directly manage the contents of this cache. In order to acces…
36 npm will not remove data by itself: the cache will grow as new packages are installed.
37 .SS "A note about the cache's design"
39 …cache is strictly a cache: it should not be relied upon as a persistent and reliable data store fo…
41 To run an offline verification of existing cache contents, use \fBnpm cache
44 .SS "\fBcache\fR"
47 Default: Windows: \fB%LocalAppData%\[rs]npm-cache\fR, Posix: \fB~/.npm\fR
53 The location of npm's cache directory.