看着
PS C:\Users\yzT> Get-Command -Module PackageManagement
CommandType Name Version Source
----------- ---- ------- ------
Cmdlet Find-Package 1.0.0.0 PackageManagement
Cmdlet Get-Package 1.0.0.0 PackageManagement
Cmdlet Get-PackageProvider 1.0.0.0 PackageManagement
Cmdlet Get-PackageSource 1.0.0.0 PackageManagement
Cmdlet Install-Package 1.0.0.0 PackageManagement
Cmdlet Register-PackageSource 1.0.0.0 PackageManagement
Cmdlet Save-Package 1.0.0.0 PackageManagement
Cmdlet Set-PackageSource 1.0.0.0 PackageManagement
Cmdlet Uninstall-Package 1.0.0.0 PackageManagement
Cmdlet Unregister-PackageSource 1.0.0.0 PackageManagement
我没有看到任何用于更新软件的选项。所以我猜想没有像apt-get upgrade
这样安装的软件包的选项,对吗?
我的意思是使用内置模块,而不是安装 chocolatey。