在执行下面命令的时候报错
Install-Module PSReadLine -AllowPrerelease -Force # AllowPrerelease parameter cannot be found
Install-Module -Name PackageManagement -Repository PSGallery -Force
Install-Module -Name PowerShellGet -Repository PSGallery -Force
#Then restart shell (重启终端)
Install-Module -Name MicrosoftStaffHub -AllowPrerelease -Force
网友评论