yarn cache clean
Remove the shared cache files.
Usage
$> yarn cache clean [--mirror] [--all]
Examples
Remove all the local archives :
yarn cache clean
Remove all the archives stored in the ~/.yarn directory :
yarn cache clean --mirror
Details
This command will remove all the files from the cache.
By default only the local cache will be cleaned. This behavior can be disabled
with the --mirror
, which will lead to the removal of the global cache files
instead, or --all
(which will remove both the local and global caches for the
current project).