【choco 安装】chocolatey 安装步骤包管理工具
COLA
🥤 COLA: Clean Object-oriented & Layered Architecture
项目地址:https://gitcode.com/gh_mirrors/col/COLA

·
他可以帮你安装东西,不用下载环境软件,就可以使用。choco 包管理工具
官网
安装要求
- Windows 7+ / Windows Server 2003+
- PowerShell v2 +
- .NET Framework 4+(如果您没有安装,则安装将尝试安装.NET 4.0)而已!所有你需要的是choco.exe(你从安装脚本中获得),你很高兴!不需要Visual Studio。
安装Chocolatey
- cmd或者powershell (不懂自行百度)都是可以的,建议一般开发都使用是管理员身份,碰到要执行的东西个各种报错,尤其是数据库。
- 复制下面的文本到 cmd 中
选择一:下面使用 cmd 安装复制下面文本到
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
选择二:下面使用 powershell (记得window 10有)安装复制下面文本到
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
检测是否安装成功
请输入下面文本的在 cmd 或者 powershell 中,然后进行回车。注意:如果没有成功,那么请关闭,在打开(cmd 或者 powershell),再操作一遍。下面命令是 查看 choco 版本号
choco -v
升级Chocolatey
choco upgrade chocolatey
卸载Chocolatey
这个好像看起来比较麻烦,那么自行查看吧 开启传送门
https://chocolatey.org/docs/uninstallation




🥤 COLA: Clean Object-oriented & Layered Architecture
最近提交(Master分支:6 个月前 )
bda50471 - 8 个月前
65e9e39d
bump org.apache.maven.plugins:maven-compiler-plugin from 3.11.0 to 3.13.0 (#496)
bump org.apache.maven.plugins:maven-surefire-plugin from 3.1.2 to 3.2.5 (#497)
bump org.springframework.boot:spring-boot-dependencies from 3.1.0 to 3.3.0.(#498)
bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.0 to 3.7.0 (#499)
bump commons-cli:commons-cli from 1.5.0 to 1.8.0 (#500)
bump org.jacoco:jacoco-maven-plugin from 0.8.10 to 0.8.12 (#501)
bump org.apache.maven.plugins:maven-source-plugin from 3.2.1 to 3.3.1 (#502)
bump org.wiremock:wiremock-standalone from 3.0.1 to 3.0.3 (#503)
8 个月前
更多推荐
所有评论(0)