1. Chocolatey란?
- Chocolatey (약칭 Choco) : 윈도우에서 사용할 수 있는 커맨드 라인 패키지 매니저
- Linux의 apt(apt-get), yum, Mac의 Homebrew 처럼 패키지 설치 / 업데이트 / 삭제 등 에 사용하는 Windows용 패키지 매니저
- MS 에서 공식으로 제공하는 도구는 아님

1. 관리자 모드로 열기
powers 검색 우클릭 관리자 권한으로 실행하기

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

설치하기
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. 초코 설치 확인
choco --version

Share article