1.在Win10开始菜单的搜索框中输入“命令提示符”即可自动搜索到“命令提示符”工具;

2.右键点击“命令提示符”,选择“以管理员身份运行”即可打开“管理员:命令提示符”窗口;

3.输入:

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
4.输入 choco,展示出版本号即为成功;

posted on 2018-10-25 11:12  HSdiana  阅读(1920)  评论(0编辑  收藏  举报