0

Visual Studio allows me to see what updates are available for referenced NuGet packages. It allows me as well to update all versions simultaneously .

Yet I cannot find similar functionality for dotnet CLI.

Is it possible to get the list of updates and/or update everything with single command?

Pavel Voronin
  • 13,503
  • 7
  • 71
  • 137

1 Answers1

1

From the ASP.NET docs:

From the Package Manager Console (PMC), you can enter the Update-Package command, which will update all packages.

Edit: It wasn't asked, but in case you'd like the GUI version, this can be found under Project -> Manage NuGet Packages...

Foxtrek_64
  • 357
  • 5
  • 14
  • It's how to update them, but what if I need to see the history line of new versions released after the one my project references. – Pavel Voronin Sep 11 '17 at 09:21
  • See if `Get-Package -updates` does what your looking for. According to the docs, it lists all available NuGet package updates for the packages used in your project. – Foxtrek_64 Sep 11 '17 at 13:34