NuGet: Difference between revisions

From Omnia
Jump to navigation Jump to search
(Created page with "== 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. <ref>https://en.wikipedia.org/w...")
 
 
Line 20: Line 20:
Update all packages:
Update all packages:
  nuget update
  nuget update
== Install-PackageProvider ==
see [[Install-PackageProvider]]
=== NuGet ===
Run powershell as administrator
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
ref: [https://answers.microsoft.com/en-us/windows/forum/all/trying-to-install-program-using-powershell-and/4c3ac2b2-ebd4-4b2a-a673-e283827da143]


== keywords ==
== keywords ==

Latest revision as of 05:07, 24 October 2024

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