1. 초코설치하기

Dec 11, 2023
1. 초코설치하기
 
choco 설치하기 이전에 알집이나 반디집 깔려있는지 확인후 깔려잇으면 삭제.
 

1. 관리자 모드로 Powershell 열기

notion image
 
  1. 초코 홈페이지 문서 확인 및 설치
 
윈도우 현재 정책 확인
Get-ExecutionPolicy
 
If it returns Restricted 제한 된 상황이라면 아래와 같이 명령어 실행
Set-ExecutionPolicy AllSigned
 
윈도우 현재 정책 다시 확인
Get-ExecutionPolicy
notion image
 
설치하기
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 라고 오류가 날 수 있으니, 나중에 다시 시도하기.
 
notion image
C:\ProgramData\chocolate
  1. 초코 설치 확인
choco --version ps c:\ users\user> choco --version 2.2.2
 
Share article
RSSPowered by inblog