Skip to content

yarn cache clean

Terminal window

By default this command removes only the per-project cache. The mirror (the project-global registry cache) is left untouched unless --mirror or --all is set.

Options

OptionDescription
--oldClear cache entries older than 7 days
--mirrorAlso remove the registry mirror cache
--allRemove both the local cache and the mirror