Windows系统入门教程-powershell下安装Chocolatey
Windows系统入门教程-powershell下安装Chocolatey
说明:
- 介绍如何在Powershell下安装包管理工具Chocolatey
- Chocolatey是windows下的包管理工具
步骤:
- 管理员方式打开Powershell,执行如下命令
PS C:\Users\ROSEASY-WIN10> Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- 查看版本
PS C:\Users\ROSEASY-WIN10> choco
Chocolatey v1.2.1
Please run 'choco -?' or 'choco <command> -?' for help menu.
获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号