1.安装choco
windows环境,用管理员权限打开 powershell 命令行界面。
输入命令:Set-ExecutionPolicy AllSigned
继续输入命令: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.安装pkg-config
输入命令:choco install pkgconfiglite
安装完成后,在C:\ProgramData\chocolatey\bin
打开运行
3.打开CM