31 lines
826 B
Markdown
31 lines
826 B
Markdown
# Chocolatey
|
||
Chocolatey is a machine-level, command-line package manager and installer for Windows software.
|
||
|
||
Project Homepage: [Chocolatey Homepage](https://chocolatey.org)
|
||
|
||
---
|
||
## Installation
|
||
|
||
1. Check the Execution Policy
|
||
|
||
Run `Get-ExecutionPolicy`. If it returns `Restricted`, then run `Set-ExecutionPolicy AllSigned` or `Set-ExecutionPolicy Bypass -Scope Process`.
|
||
|
||
2. Install Chocolatey
|
||
|
||
```powershell
|
||
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
|
||
```
|
||
|
||
3. Check if you install chocolatey
|
||
|
||
```powershell
|
||
choco -?
|
||
```
|
||
|
||
---
|
||
## Install software package
|
||
|
||
```powershell
|
||
choco install <package>
|
||
```
|