I have been working with .NET Core lately and I am pretty excited about the future of .NET running outside of just windows. Ever since my first tech job at an enterprise healthcare company, I have had a soft spot in my heart for C#. I am also a huge fan of Visual Studio Code compared to the big ball of bloat that is Visual Studio proper, vscode is a refreshing take on a simple IDE.
The one thing that is not as intuitive as I thought was working with NuGet outside of Visual Studio.
NuGet is the package manager for the Microsoft development platform including .NET
Source: NuGet Gallery | Home
The easiest way to install third party libraries and tooling is with Nuget. Buried deep within the documentation is an executable called Nuget CLI that you can download to use nuget completely outside of Visual Studio. This supposedly works on OS X and Linux as well.
The quick and dirty way to get started is:
- Download the latest version of the Nuget CLI
- Copy it somewhere that you don’t mind being in your PATH. I have a special folder called C:\DevTools
- Open up a command prompt and run the nuget command