inblog logo
|
vosw1
    install

    초코 설치하기

    Dec 11, 2023
    초코 설치하기
    Contents
    1. 관리자모드로 Powershell 열기2. Choco 홈페이지 확인3. Choco 설치 확인

    1. 관리자모드로 Powershell 열기

    notion image
     

    2. Choco 홈페이지 확인

    https://chocolatey.org/install
    윈도우 현재 정책 확인
    Get-ExecutionPolicy
    notion image
    If it returns Restricted 제한된 상황이라면 아래와 같이 명령어 실행
    Set-ExecutionPolicy AllSignedGet-ExecutionPolicy 입력Get-ExecutionPolicy 입력
    notion image
     
    윈도우 현재 정책 다시 확인
    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'))
    notion image
     
    💡
    동시에 여러 명이 요청하면 ‘too many request’라고 오류가 날 수 있으니 나중에 다시 시도해야 함
     
    실패시) C드라이브 탐색기> 숨김 항목 보기> ProgramData>chocolatey 삭제 후 다시 시도
    notion image
     

    3. Choco 설치 확인

    choco --version
    notion image
     
    Share article
    Contents
    1. 관리자모드로 Powershell 열기2. Choco 홈페이지 확인3. Choco 설치 확인

    vosw1

    RSS·Powered by Inblog