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

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -