chocolatey

Posted bob-wei

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了chocolatey相关的知识,希望对你有一定的参考价值。

https://chocolatey.org

## Install Chocolatey
CMD (Recommand):
@"%SystemRoot%System32WindowsPowerShellv1.0powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1‘))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%chocolateyin"
POWERSHELL:
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1‘))

## Install Software
set http_proxy=http://10.192.124.220:80
set https_proxy=http://10.192.124.220:80
set no_proxy=127.0.0.1,::1,localhost

choco install -y notepad2-mod 7zip GoogleChrome git gpg4win pandoc putty typora wkhtmltopdf vscode
choco install -y firefox nodejs intellijidea-community slack sourcetree heidisql procexp AutoRuns procmon
choco install -y google-pinyin
choco install -y axel jq telnet caffeine sudo
choco install -y keepass Everything listary IrfanView irfanviewplugins foobar2000 mpv sumatrapdf
choco install -y cpu-z hashmyfiles

choco install -y --force notepad2-mod

## Update Software
choco upgrade all
choco upgrade chocolatey

No Update Some Software When Upgrade:
choco pin notepad2-mod

## List Installed Software
choco list --local-only

List Installed Software (Include Non-Chocolatey-Install) 
choco list -li
choco list -lai

## Uninstall Software
choco uninstall sourcetree

## Search Software
choco search docker-desktop
choco search > 1.txt

## View Software Information
choco info desktop-desktop

## Temp Path
%temp%chocolatey

 

以上是关于chocolatey的主要内容,如果未能解决你的问题,请参考以下文章

window 包管理器--Chocolatey

Chocolatey安装与使用

Windows Chocolatey

Windows包管理工具-Chocolatey

Chocolatey CLI 1.0.0 发布

Windows包管理工具Chocolatey的安装使用