chocolatey安装

指定目录安装

setx.exe ChocolateyInstall D:\Chocolatey /M
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

卸载只需要删除对应文件夹

posted @ 2022-09-11 12:01  乄一叶知秋  阅读(69)  评论(0编辑  收藏  举报