Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 566 Bytes

clean-yarn-cache.md

File metadata and controls

21 lines (13 loc) · 566 Bytes

Clean Yarn Cache

Category: Nodejs

Yarn stores every package in a global cache in your user directory on the file system. Over time, this directory will grow to gigabytes in size and may need to be purged to reclaim disk space.

To output a list of entries in the cache:

yarn cache list

To remove all entries in the cache:

yarn cache clean

Note: Only clean the yarn cache if you are prepared to download required package dependencies again.

See yarn cache for more details.