NuGet
Package manager for .NET development. Install, restore, and manage NuGet packages across your .NET solutions.
48 commands
Browse by Topic
Install NuGet CLI (macOS)
Install the NuGet CLI using Homebrew on macOS
Show NuGet help
Display NuGet CLI help and available commands
Check .NET CLI version
Verify the .NET CLI is installed for dotnet nuget commands
Add package (dotnet)
Add NuGet package to project.
Add specific version
Add specific package version.
Restore packages
Restore all NuGet packages.
Install (nuget.exe)
Install using nuget.exe.
Remove package
Remove package from project.
Add prerelease package
Add latest prerelease version.
List project packages
List all packages in project.
List outdated packages
Show packages with newer versions available.
List vulnerable packages
Show packages with known vulnerabilities.
Add package from source
Add package from a specific source.
List deprecated packages
Show packages marked as deprecated.
List sources
List configured package sources.
Add source
Add a package source.
Add private source
Add authenticated private feed.
Remove source
Remove a package source.
Update source credentials
Update credentials for an existing source.
Enable source
Enable a disabled package source.
Disable source
Disable a package source without removing.
Add trusted signer
Trust a package author by certificate fingerprint.
List trusted signers
List all configured trusted signers.
Pack project
Create NuGet package.
Push to nuget.org
Push package to NuGet.org.
Push to private feed
Push to private feed.
Delete package
Unlist package from feed.
Pack with version
Create package with explicit version.
Pack with symbols
Create package with debug symbols and source.
Pack with nuspec
Create package from nuspec file.
Generate nuspec
Generate nuspec template from project.
Pack snupkg symbols
Create .snupkg symbol package for NuGet.org.
Pack to output dir
Create package in specific output directory.
Push all packages
Push all .nupkg files in directory.
Push with skip duplicates
Push and skip if version already exists.
Sign package
Sign a NuGet package with a certificate.
Verify package signature
Verify the signature of a NuGet package.
List cache locations
Show all cache locations.
Clear all caches
Clear all NuGet caches.
Clear http cache
Clear HTTP cache only.
Clear global packages
Clear global packages cache.
Clear temp cache
Clear temporary cache folder.
Show global packages path
Show global packages folder location.
Set config value
Set a NuGet configuration value.
Get config value
Get a specific NuGet configuration value.
Set NUGET_PACKAGES env
Override global packages folder location.
Restore with locked mode
Restore packages using lock file for reproducibility.
Generate packages lock
Generate packages.lock.json for deterministic restores.
Discussion
Loading comments...