npm config get cache

Category: Node.js & npm/yarn

npm config get cache

Show the npm cache directory

Prints the folder where npm stores downloaded tarballs and metadata, which speeds up repeated installs. The cache can grow large, and npm cache verify reports its health. Move it with npm config set cache <path>.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.