On this page
yarn cache clean
Remove the shared cache files.
Usage
$> yarn cache clean
Examples
Remove all the local archives :
yarn cache clean
Remove all the archives stored in the ~/.yarn directory :
yarn cache clean --mirror
Options
Definition
|
Description |
---|---|
--mirror |
Remove the global cache files instead of the local cache files |
--all |
Remove both the global cache files and the local cache files of the current project |
Details
This command will remove all the files from the cache.
© 2016–present Yarn Contributors
Licensed under the BSD License.
https://yarnpkg.com/cli/cache/clean