用一个巧克力一键给你创建开发环境

我们之前介绍过chocolatey包管理器,我突然想起来他可以用来做一键配置脚本啊!于是就有了这篇文章

Set-ExecutionPolicy Bypass -Scope Process -Force
[System.Net.ServicePointManager]::SecurityProtocol = 3072 -bor
    [System.Net.ServicePointManager]::SecurityProtocol
iex (New-Object Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')
choco feature enable -n allowGlobalConfirmation
choco install vscode git 7zip -y
choco install python -y
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
choco install mingw llvm cmake -y
choco install terminal nerd-fonts-hack -y

Comments