DEV Community

Raphaël T
Raphaël T

Posted on

Cleanup Scoop package manager cache

Before cleanup : 31,55 Gib (Stored old version of previous packages and cache)
After cleanup : 11,76 Gib (Remove all outdated versions of packages + cache)

Objective : Clearing unused version and cache these folder..

  • ~\scoop\apps\
  • ~\scoop\cache\

Make sure all your apps are updated :

scoop status
scoop update <app1> <app3> <app3> <appN..>

Option 1 : Removing only cache

  1. use scoop cache to see how much cache scoop stored on your PC
  2. use scoop cache rm * to remove cache.

Option 2 : Removing cache and versions

You can use scoop cleanup --help to see available options.

If you're sure what you are doing and want to remove ALL the outdated caches /!\ Need administrator permission..
scoop cleanup * -g -k

  • * : all the apps, -g : all installed app, -k : outdated download cache

Top comments (0)