NuGet provider for AnyPackage.
Install-PSResource AnyPackage.NuGet
Import-Module AnyPackage.NuGet
Find-Package -Name System.Management.Automation
Gets installed packages from the NuGet global packages directory.
Get-Package
Installs packages to the NuGet global packages directory.
Install-Package -Name System.Management.Automation
Install-Package -Name Avalonia -Provider NuGet -Framework netstandard2.0
Install-Package -Name Avalonia -Provider NuGet -DependencyBehavior Highest
Saves packages to a directory.
Save-Package -Name System.Management.Automation -Path C:\Temp
Get-PackageSource
$params = @{
Name = 'nuget.org'
Location = 'https://api.nuget.org/v3/index.json'
Provider = 'NuGet'
ProtocolVersion = 3
}
Register-PackageSource @params
Set-PackageSource -Name nuget.org -Location url
Unregister-PackageSource -Name nuget.org