How to clear NuGet package cache using command line? -
i can clear dev computer's nuget package cache using vs tools/options/nuget package manager/general: [clear package cache] button.
i in command line. unfortunately can not find related command line switch nuget.exe.
did miss something?
first, download nuget command line tool here.
next, open command prompt , cd
directory nuget.exe
downloaded.
you can list local caches command:
nuget locals -list
you can clear caches command:
nuget locals -clear
reference: https://docs.nuget.org/consume/command-line-reference
Comments
Post a Comment