直接拷贝执行即可,注意需要管理员身份运行 @"%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%;%ALLUSERSPROFI...
In PowerShell, run New-Item $env:ChocolateyInstall\license -Type Directory -Force - this creates the license directory. Alternatively, you can put the license in your user profile directory, e.g. "C:\Users\YourUserName\chocolatey.license.xml", however we only recommend you do this for Profes...
choco uninstall git Chocolatey v2.1.0 Uninstalling the following packages: git You are uninstalling git, which is likely a metapackage for an *.install/*.portable package that it installed (git represents discoverability). For the question below, you have 20 seconds to make a selection. Would ...
New-Item$env:ALLUSERSPROFILE\choco-cache-ItemTypeDirectory-Force $env:TEMP="$env:ALLUSERSPROFILE\choco-cache" # 46行的变量值携程nupkg的路径,用单引号括起来 $localChocolateyPackageFilePath='E:\Downloads\choco\chocolatey.0.10.15.nupkg' $ChocoInstallPath="$($env:SystemDrive)\ProgramData\Chocolatey\...
= 3072; iex ((New-Object System.Net.WebClient).DownloadString('https:///install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" Forcing web requests to allow TLS v1.2 (Required for requests to Chocolatey.org) Getting latest version of the Chocolatey package for download. ...
WindowsPowerShell\v1.0\powershell.exe"-NoProfile -InputFormat None -ExecutionPolicy Bypass -Command"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))"&& SET"PATH=%PATH%;%ALLUSERSPROFILE%\...
choco install sublimetext3 下载 choco uninstall sublimetext3 卸载 choco upgrade sublimetext3 更新(update) mkcert mkcert 是一个使用 go 语言编写的生成本地自签证书的小程序,具有跨平台,使用简单,支持多域名,自动信任 CA 等一系列方便的特性可供本地开发时快速创建 https 环境使用。
To install kubectl using the “choco install” command, first, install the Chocolatey Windows package manager on the system. After that, run the “choco install kubernetes-cli” command to install the kubectl. For verification, start the Kubernetes cluster using the minikube tool and use the “...
ChocolateyisapackagemanagerforWindows(like apt-getoryum butforWindows) 安装 用管理员打开cmd,执行以下命令: powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1' ))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey...
@"%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" ...