chocolatey

https://chocolatey.org

## Install Chocolatey
CMD (Recommand):
@"%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:
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 sqlite sqlitebrowser cmder firefox nodejs sourcetree heidisql
choco install -y axel jq telnet caffeine sudo
choco install -y keepass Everything listary IrfanView irfanviewplugins mpv youtube-dl foobar2000 sumatrapdf 
choco install -y cpu-z hashmyfiles procexp autohotkey
choco install -y --ignore-checksums autoruns
choco install -y google-pinyin ilspy intellijidea-community slack
choco pin add -n=intellijidea-community
(choco pin add -n=git --version 1.2.3)

choco install -y golang
choco pin add -n=golang
(choco pin remove --name golang)

(--force argument to force reinstall, don't use it on choco upgrade command)
choco install -y --force notepad2-mod

## Need Update Software List
choco outdated

## 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

 

posted @ 2019-02-13 23:02  Bob-wei  阅读(689)  评论(0编辑  收藏  举报