inblog logo
|
hyeonjeong-jang-0302
    install

    초코 설치하기 + 사용하기

    Dec 11, 2023
    초코 설치하기 + 사용하기
    Contents
    1. 초코 설치하기2. 초코 사용하기

    1. 초코 설치하기

    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
    설치에 실패하면 chocolatey를 삭제한 후 다시 설치를 시도한다.
     

    3) 초코 설치 확인

    choco --version
    notion image
     
     

    2. 초코 사용하기

    1) Community - 검색창에서 프로그램을 검색한다.

    notion image
    notion image
    notion image
     

    2) 명령어 복사

    choco install intellijidea-community라고 적힌 부분을 복사한다.
    오른쪽 파란 버튼을 누르면 자동으로 복사된다.
    notion image
     

    3) PowerShell 열기

    PowerShell에 복사된 명령을 붙여넣고 Enter키를 누르면 프로그램 설치가 완료된다.
    notion image
     
     
    💡
    PowerShell 창에 다음을 입력하면 프로그램이 설치되었는지 확인할 수 있다.
    프로그램이름 --version
    프로그램이 설치되었다면 설치된 버전을 보여준다.
     
    notion image
    Share article

    hyeonjeong-jang-0302

    RSS·Powered by Inblog