Install a Nuget package in Visual Studio Code

Gyan Parkash picture Gyan Parkash · Nov 18, 2016 · Viewed 212.9k times · Source

How can I install a Nuget Package in Visual Studio Code? I know in Visual Studio, we can do this through the Nuget Package Manager console, but how do I do it in VS Code?

Answer

Jeff Albrecht picture Jeff Albrecht · Feb 14, 2017

From the command line or the Terminal windows in vs code editor dotnet add package Newtonsoft.Json

See this article by Scott Hanselman