inblog logo
|
kimjihun
    install

    1.초코 설치하기

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

    1. 관리자 모드로 powershell 열기

     
    notion image

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

    https://chocolatey.org/install
     
    윈도우 현재 정책확인
    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
    notion image
    오류문자가 나올 시 삭제 후 다시 설치

    3. 초코 설치확인

    choco --version
     
    Share article

    kimjihun

    RSS·Powered by Inblog