Working with NuGet CLI

| windows |

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:

  1. Download the latest version of the Nuget CLI
  2. Copy it somewhere that you don't mind being in your PATH. I have a special folder called C:\DevTools
  3. Open up a command prompt and run the nuget command

Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.

Check out some more stuff to read down below.

Most popular posts this month

Recent Favorite Blog Posts

This is a collection of the last 8 posts that I bookmarked.

Articles from blogs I follow around the net

How Many Mildliner Colours Are There Now?

I made a mildliner reference site to keep track of all the colours

via Robb Knight • Posts • Atom Feed June 27, 2025

Resupply stablecoin lender exploited for $9.3 million

An attacker was able to exploit a vulnerability in a smart contract used by the Resupply stablecoin lender to extract about $9.3 million from the project. After depositing around $200,000, they were able to inflate the price of anoth…

via Web3 is Going Just Great June 27, 2025

Self-driving is finally happening

I still remember how the car industry got all excited back in 2017 about how steering wheels would soon be obsolete. Every concept car then was a living room on wheels, seats facing inwards. The self-driving revolution was imminent, they said. Well, it …

via David Heinemeier Hansson June 27, 2025

Generated by openring