This topic displays help topics for the Package Management Cmdlets. The cmdlet reference documentation on this site documents the latest version of the module.
This documentation cover version 18.104.22.168 of the PackageManagement module.
Windows PowerShell 5.1 comes with version 22.214.171.124 of PackageManagement preinstalled. This version of PowerShellGet has a limited features and doesn't support the updated capabilities of the PowerShell Gallery. To be supported, you must update to the latest version.
The commands contained in the PackageManagement module are different than the commands provided by the NuGet module in the Package Manager Console of Visual Studio. Each module has commands that are not available in the other. Commands with the same name differ in their specific arguments. For more information, see the PowerShell reference documentation for the Package Manager Console of Visual Studio.
Finds software packages in available package sources.
Returns a list of Package Management package providers available for installation.
Returns a list of all software packages that were installed with PackageManagement.
Returns a list of package providers that are connected to Package Management.
Gets a list of package sources that are registered for a package provider.
Adds Package Management package providers to the current session.
Installs one or more software packages.
Installs one or more Package Management package providers.
Adds a package source for a specified package provider.
Saves packages to the local computer without installing them.
Replaces a package source for a specified package provider.
Uninstalls one or more software packages.
Removes a registered package source.