Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
PS /home/cjac> cjac@xenial0:~$ sudo powershell
[sudo] password for cjac:
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
PS /home/cjac> Install-PackageProvider -Name NuGet -RequiredVersion -Force
Install-PackageProvider : No match was found for the specified search criteria
for the provider 'NuGet'. The package provider requires 'PackageManagement'
and 'Provider' tags. Please check if the specified package has the tags.
At line:1 char:1
+ Install-PackageProvider -Name NuGet -RequiredVersion -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (Microsoft.Power...PackageProvi
der:InstallPackageProvider) [Install-PackageProvider], Exception
+ FullyQualifiedErrorId : NoMatchFoundForProvider,Microsoft.PowerShell.Pac
PS /home/cjac>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.