2: ServerConfig_InstallNuget - DavidRueter/SQLVer GitHub Wiki

NuGet is the name of a command line package manager from Microsoft. It makes it easy to install certain software packages.

(We use this to install the command line C# compiler, and it can potentially be used for other things.)

To install NuGet:

  1. We recommend the nuget.exe be installed (i.e. placed) directly in the C:\SQLVer\Tools folder.
  2. Inside the PowerShell window, paste the following and press Enter:
(new-object System.Net.WebClient).DownloadFile(
  'https://dist.nuget.org/win-x86-commandline/latest/nuget.exe',
  'C:\SQLVer\Tools\nuget.exe'
)

This will result in nuget.exe being placed in C:\SQLVer\Tools

You will use the PowerShell window again on future install steps, so leave it open.

Note: If you prefer you could manually download NuGet from https://www.nuget.org/downloads