meteor-cleanerClean up your Meteor package cache!
[meteor] npm install -g meteor-cleaner
If you install
meteor-cleanerglobally using the
npmversion bundled with Meteor, you can run the
clean-package-cachecommand like a built-in Meteor command.
Note: Windows is currently not supported!
[meteor] clean-package-cache [options]
clean-package-cacheanalyzes the packages in
~/.meteorand computes the amount of disk space that would be saved by removing versions according to the options explained below. Unless you pass the
-y) option, you are asked for confirmation before anything is removed.
After analyzing the packages, the results are stored in a cache (
~/.meteor-cleaner-cache) that is valid for 24 hours or until versions are removed. This means that you can quickly try out different options before you decide which versions you want to remove. You can force
clean-package-cacheto analyze all packages again (for example, if Meteor has downloaded new packages in the meantime) using the
--ignore-cacheoption or by removing the cache file.
clean-package-cacheremoves all versions of each package. Using the following options, you can specify which versions you want to keep. If you pass more than one option,
clean-package-cachecomputes the union of all matching versions. For example,
--keep-final --keep-latest 1removes all but the latest pre-releases.
nlatest versions of each package.
Keep versions that are used by Meteor projects in
Keep final releases (everything that's not a pre-release).