OS/Windows

[Windows] Chocolatey

llHoYall 2020. 8. 30. 23:02

Chocolatey is the package manager for windows.

I've been using it for several years.

It was awesome, so I love it.

Installation

Open the shell with admin mode.

$ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

Usage

Show help menu

$ choco -?
$ choco --help (-h)

Upgrade Packages

Self upgrade

$ choco upgrade chocolatey

Upgrade all installed packages

$ choco upgrade all

Show available packages list

$ choco list

Show installed packages list

$ choco list --local-only (-l)

Install specified packages

$ choco install <packages>

Uninstall specified packages

$ choco uninstall <packages>
반응형