1. 관리자모드로 Powershell 열기

2. 초코 홈페이지 문서 확인
윈도우 현재 정책 확인
Get-ExecutionPolicy
If it returns
Restricted
제한된 상황이라면 아래와 같이 명령어 실행Set-ExecutionPolicy AllSigned
윈도우 현재 정책 다시 확인
Set-ExecutionPolicy AllSigned

설치하기
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'))
동시에 여러명이 요청하면 too many request라고 오류가 날 수 있으니, 나중에 다시 시도하자.
3. 초코 설치 확인
choco --version
- 만약 폴더가 존재한다면 반드시 폴더를 지워주고 다운받아야 한다.

**설치 완료 문구

Share article