NuGet

From Omnia
Jump to navigation Jump to search

NuGet

NuGet (pronounced "New Get") is a package manager, primarily used for packaging and distributing software written using .NET and the .NET Framework. The Outercurve Foundation initially created it under the name NuPack.[4][5] Since its introduction in 2010, NuGet has evolved into a larger ecosystem of tools and services, including a free and open-source client application, hosted package servers, and software deployment tools. [1]

nuget.exe

Installation

Download and install: [2]

https://dist.nuget.org/win-x86-commandline/latest/nuget.exe

Manage Packages

Usage: [3]

nuget install <packageID | configFilePath> -OutputDirectory <outputDirectory>

List Packages:

nuget list -Source <source>

Update all packages:

nuget update

Install-PackageProvider

see Install-PackageProvider

NuGet

Run powershell as administrator

Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force

ref: [1]

keywords