inblog logo
|
MiracleCoding
    INSTALL

    [Install] 초코(chocolatey)설치하기

    Dec 11, 2023
    [Install] 초코(chocolatey)설치하기
    Contents
    1. Powershell 관리자 모드로 열기2. 초코 홈페이지 문서 확인3. 초코 설치 확인.
     
     
    💡
    Chocolatey? - WINDOW용 패키지 매니저. 코드 한줄로 손쉽게 설치 가능하게 해주는 프로그램 (MAC은 Homebrew)

    1. Powershell 관리자 모드로 열기

    notion image
     

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

    Chocolatey - The package manager for Windows
    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.
    Chocolatey - The package manager for Windows
    https://chocolatey.org/
    Chocolatey - The package manager for Windows
    우측 상단 install
    우측 상단 install
     
    • 윈도우 현재 정책 확인.
    Get-ExecutionPolicy
    notion image
    • If it returns Restricted 제안 된 상황이라면 아래와 같이 명령어 실행
    Set-ExecutionPolicy AllSigned
    notion image
    • 윈도우 현재 정책 다시 확인.
    Get-ExecutionPolicy
    • 설치하기
    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

    3. 초코 설치 확인.

    choco --version
    야호-
    야호-
     
     
     
    💡
    TIP. 동시에 같은 IP로 요청이 많이 오면, Too Many Requests 오류로 안될 수 있음! → C:\ProgramData\chocolatey 폴더 제거 후 다시 실행
    Share article

    MiracleCoding

    RSS·Powered by Inblog