remove the shared cache files
yarn cache cleanExamples
Section titled “Examples”Remove all the local archives :
yarn cache cleanRemove all the archives stored in the ~/.yarn directory :
yarn cache clean --mirrorDetails
Section titled “Details”This command will remove all the files from the cache.
Options
Section titled “Options”| Definition | Description |
|---|---|
| Remove the global cache files instead of the local cache files |
| Remove both the global cache files and the local cache files of the current project |