Manage NuGet packages

Manage packages via an extension
  1. Install the C# Dev Kit Extended extension.

  2. After the extension is installed, press Ctrl + Shift + P and select NuGet: Manage NuGet Packages….

  3. Select the project you want to manage (Figure 1). This will open the visual NuGet management interface (Figure 2), where you can install or update NuGet packages as needed.

    Figure 1:

    Figure 2:

Manage packages via command line

Official documentation: https://code.visualstudio.com/docs/csharp/package-management.

You can press Ctrl + Shift + P and choose different menu options to manage NuGet packages for your project.