windows 安装 chocolatey

chocolatey 可以类似 mac brew 可以很方便的管理包
官方文档

https://chocolatey.org/install

####### powershell 管理方式打开

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'))

默认下载目录

C:\Users\Administrator\AppData\Local\Temp\chocolatey\dcmtk\3.6.8\dcmtk-3.6.8-win64-chocolatey.zip

安装二进制目录

C:\ProgramData\chocolatey\bin
posted @ 2022-04-22 13:10  vx_guanchaoguo0  阅读(26)  评论(0编辑  收藏  举报