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