--yes 是自动安装,不加的话每一步都要输入y确认安装 批量升级软件方法 choco upgrade all 也可以把以下命令放到bat文件里面,设置任务计划定时自动升级软件,简直美滋滋 @echo off choco upgrade all pause 当然由于国内网络环境原因,部分地区的网络可能不稳定,想用的朋友可以提前测试一些网络或者使用特殊的方法。©...
Command line: "C:\ProgramData\chocolatey\choco.exe" upgrade all --debug --verbose Received arguments: upgrade all --debug --verbose RemovePendingPackagesTask is now ready and waiting for PreRunMessage. Sending message 'PreRunMessage' out if there are subscribers... [Pending] Removing all pendin...
- install - installs packages using configured sources - pin - suppress upgrades for a package - outdated - retrieves information about packages that are outdated. Similar to upgrade all --noop - upgrade - upgrades packages from various sources - uninstall - uninstalls a package - pack - pack...
IMHO a chronological history of installed/upgraded/uninstalled packages with dates would be enough. (I just want to know which version of "powertoys" I had working fine moments ago before "choco upgrade all" installed the latest but really buggy version. I closed the console window that showed...
cup <pkg|all> # 相当于 choco upgrade ... 查找软件 访问软件包官网https://chocolatey.org/packages 查询软件 7zip 可访问https://chocolatey.org/packages?q=7zip 或使用choco search命令查找: image.png # 查找软件 choco search 7zip choco search 7zip.install -all # 所有版本 ...
* install - installs packages from various sources * pin - suppress upgrades for a package * outdated - retrieves packages that are outdated. Similar to upgrade all --noop * upgrade - upgrades packages from various sources * uninstall - uninstalls a package ...
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin 用法 choco search [something] choco install [something] choco uninstall [something] choco upgrade [...
Write-Output'Unable to set PowerShell to use TLS 1.2 and TLS 1.1 due to old .NET Framework installed. If you see underlying connection closed or trust errors, you may need to upgrade to .NET Framework 4.5+ and PowerShell v3+.'
我已经将我的巧克力源配置为只有这个虚拟代码库。 目前,我已经安装了hugo的v0.46巧克力包。当我执行chocoupgrade hugo时,我收到一条消息: hugo v0.46 is newer than the most recent.如果我将chocolatey源文件切换为指向远程存储库,则执行chocoupgrade hugo将安装v0.53。此外,如果我在仅...
$commandText = $commandText -replace '\`([choco\s]*)(apikey|install|upgrade|uninstall|list|search|info|outdated|pin)\`', '[`$1$2`](xref:choco-command-$2)' $commandText = $commandText -replace '^(.+):\s(.+.gif)$', '![$1]($2)' $commandText = $commandText -replace '^(\...