1. 초코 설치하기

Dec 11, 2023
1. 초코 설치하기

1. 관리자 모드로 Powershell 열기

notion image
 

 

2. 초코 홈페이지 문서 확인 및 설치

  1. https://chocolatey.org/install (설치 링크)
 
  1. 윈도우 현재 정책 확인
Get-ExecutionPolicy
 
  1. If it returns Restricted 제한된 상황이라면 아래와 같이 명령어 실행
Set-ExecutionPolicy AllSigned
 
  1. 윈도우 현재 정책 다시 확인
Get-ExecutionPolicy
notion image
 
  1. 설치하기
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 requset 라고 오류가 날 수 있으니, 설치 폴더를 삭제하고 나서 나중에 다시 시도하세요.
💡
경로 → C:\ProgramData\chocolatey(copy)
notion image
notion image
 
★설치가 될 때까지 무한 반복 해야 한다.

 
 

3. 초코 설치 확인

choco --version
notion image
 
Share article

tersma