1. 관리자모드로 Powershell 열기
![notion image](https://inblog.ai/_next/image?url=https%3A%2F%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fprod-files-secure.s3.us-west-2.amazonaws.com%252F843be7ee-b53f-4db0-9186-717f7b3b3f9b%252Fe6aae764-f959-4616-a27e-753a163c9dc8%252FUntitled.png%3Ftable%3Dblock%26id%3Df20d304a-00b0-4e26-916e-3472d107eb92%26cache%3Dv2&w=3840&q=75&dpl=dpl_3JfCqRomR2e4jFMFss3k7QnmYnWs)
2. 초코 홈페이지 문서 확인
윈도우 현재 정책 확인
Get-ExecutionPolicy
If it returns
Restricted
제한된 상황이라면 아래와 같이 명령어 실행Set-ExecutionPolicy AllSigned
윈도우 현재 정책 다시 확인
Set-ExecutionPolicy AllSigned
![notion image](https://inblog.ai/_next/image?url=https%3A%2F%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fprod-files-secure.s3.us-west-2.amazonaws.com%252F843be7ee-b53f-4db0-9186-717f7b3b3f9b%252Ff756d813-4344-4bdc-9440-cbe8700a8772%252FUntitled.png%3Ftable%3Dblock%26id%3Da912f7bf-0a2d-4bb7-a703-05694ac60927%26cache%3Dv2&w=3840&q=75&dpl=dpl_3JfCqRomR2e4jFMFss3k7QnmYnWs)
설치하기
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
- 만약 폴더가 존재한다면 반드시 폴더를 지워주고 다운받아야 한다.
![notion image](https://inblog.ai/_next/image?url=https%3A%2F%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fprod-files-secure.s3.us-west-2.amazonaws.com%252F843be7ee-b53f-4db0-9186-717f7b3b3f9b%252F8907140f-c589-4dd6-867c-e6ea48a05c18%252FUntitled.png%3Ftable%3Dblock%26id%3Def669b91-5f2e-4b4c-807f-b29258c26978%26cache%3Dv2&w=3840&q=75&dpl=dpl_3JfCqRomR2e4jFMFss3k7QnmYnWs)
**설치 완료 문구
![notion image](https://inblog.ai/_next/image?url=https%3A%2F%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fprod-files-secure.s3.us-west-2.amazonaws.com%252F843be7ee-b53f-4db0-9186-717f7b3b3f9b%252Ff2a9de8d-42b0-466a-980c-3c5393be7efa%252FUntitled.png%3Ftable%3Dblock%26id%3D6aeb1b61-1394-44f7-803e-7a0edf2612c4%26cache%3Dv2&w=3840&q=75&dpl=dpl_3JfCqRomR2e4jFMFss3k7QnmYnWs)
Share article