Skip to main content

Update-PowerShellGet

Description​

Installs or updates PowerShellGet to the latest version available in the PowerShell Gallery.

Requirements​

  • PowerShell v5
  • Desktop edition of PowerShell

Usage​

  • If the NuGet package provider is not installed, it will be installed.
  • Sets PSGallery as a trusted repository.
  • Installs or updates PowerShellGet.
.\Update-PowerShellGet.ps1

Changelog​

2025-04-10​

  • Initial version of the document