How do I list all installed NuGet packages?

前端 未结 9 1906
旧时难觅i
旧时难觅i 2020-12-23 15:58

How does one list all locally installed NuGet packages?

Is there a NuGet equivalent of RPM -qa? Within Chocolatey there is the chocolatey list -loc

9条回答
  •  别那么骄傲
    2020-12-23 16:13

    Answer to "Is there a way to do this using nuget.exe?" – bitbonk

    Based on the answer from jstar above. I used \ instead of / which fits more to the Windows environment where nuget is at home. My edit of the answer was rejected so I post my own.

    nuget list -Source c:\code\packages

    Where c:\code is a path to your local code-repository. The packages folder is on the same level like your solution-file (*.sln).

提交回复
热议问题