使用管理员权限执行powershell,执行 Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) 2...
打开PowerShell窗口,选择以管理员身份运行PowerShell 在命令窗口中执行以下命令,来安装Chocolatey Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadS...
下面是Chocolatey的安装方式: 打开PowerShell窗口,选择以管理员身份运行PowerShell 在命令窗口中执行以下命令,来安装Chocolatey Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object Syst...
chocolatey.org/install# 前提 基本了解命令行 步骤 打开具有管理员权限的PowerShell: 搜索powershell,右键点击搜索结构中的Windows PowerShell,选择Run as admininistrator 根据Chocolately官网提示输入 Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net...
https://chocolatey.org/ shift+contrl+enter:在powershell中以administrator执行 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的安装需要: Powershell Internet链接 下面的操作在Windows 7上面应该是没有问题的。以“管理员方式”打开一个命令行工具,输入下面的命令: @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET...
1、打开浏览器,访问Chocolatey官方网站(https://chocolatey.org/)。 2、复制页面上提供的安装脚本。 3、返回到PowerShell窗口,粘贴脚本并按回车键运行。 第四步:验证安装 安装完成后,你可以运行几个简单的命令来验证Chocolatey是否已经成功安装,打开一个新的PowerShell窗口(不需要管理员权限),然后尝试以下命令: ...
Chocolatey是一款Windows的包管理工具,它可以像Linux下的包管理工具apt或yum一样,帮助我们方便地安装和管理Windows下的软件和工具。 下面是Chocolatey的安装方式: 打开PowerShell窗口,选择以管理员身份运行PowerShell 在命令窗口中执行以下命令,来安装Chocolatey
在linux系统下有包的管理器,windows下的可视化安装固然方便,但是如果也有类似的包管理器,执行一行命令,搞定软件的安装,也是相当不错的,chocolatey就是这样一个软件。方法/步骤 1 第一步,以管理员身份打开powershell,在命令行下输入---Set-ExecutionPolicy Bypass -Scope Process -Force;---然后回车 2 第二步...
这就是您通过 PowerShell 窗口安装 Chocolatey 的方式。现在,如果您想通过命令提示符安装它,您可以按照以下步骤操作。 方法二:通过命令提示符 第1 步:像往常一样,单击任务栏上的搜索图标。 第2 步:现在在搜索栏中,输入cmd并单击命令提示符下的以管理员身份运行选项。