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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -