[Win] [包管理器] powershell 安装Win下的包管理器 Chocolatey

腾讯云开发社区:安装Chocolatey

01 简介

Windows 系统上的“软件应用商店”或“包管理器”,但它主要通过命令行(如 PowerShell 或 CMD)来操作。

02 安装流程

2.1 使用管理员打开powershell

2.2 执行以下命令:

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

2.3 检查安装

powershell执行

choco -?
choco --version

image

posted on 2025-11-16 14:51  风惊庭前叶  阅读(0)  评论(0)    收藏  举报