How do I list all installed NuGet packages?

前端 未结 9 1909
旧时难觅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:34

    In the NuGet Package Manager Console, enter the following command:

    Get-Package
    

    This will either print out a list of installed packages, or if none are present write the following line to the console:

    PM> Get-Package
    No packages installed.
    

    For more details, have a look at the NuGet PowerShell Reference.

提交回复
热议问题