inblog logo
|
AI_Nomads
    INSTALL

    초코 설치하기

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

    1. 관리자 모드로 Powershell 열기

    notion image
     
     
     
     

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

    • 아래링크 접속
    Installing Chocolatey
    Chocolatey is software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages. Chocolatey integrates w/SCCM, Puppet, Chef, etc. Chocolatey is trusted by businesses to manage software deployments.
    Installing Chocolatey
    https://chocolatey.org/install
    Installing Chocolatey
     
     
    • 윈도우 현재 정책 확인
    Get-ExecutionPolicy
     
     
    • If it returns Restricted, 제한된 상황이라면 아래와 같이 명령어 실행
    Set-ExecutionPolicy AllSigned
     
     
    • 혹시 여기서도 다중 접속자 때문에 설치가 안된다면 Chocolatey 폴더를 삭제하고 다시시도
    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'))
     
     
    💡
    동시에 여러 명이 요청하면 too many request라고 오류가 날 수 있으니, 나중에 다시 시도하자.
     
     
     

    3. 초코 설치 확인

     
    • Powershell에서 아래 같이 입력해주시고 버전이 나오면 설치완료입니다.
    choco --version
    notion image
     
     
     
    Share article
    Contents
    1. 관리자 모드로 Powershell 열기2. 초코 홈페이지 문서 확인 및 설치3. 초코 설치 확인

    AI_Nomads

    RSS·Powered by Inblog