본문 바로가기
카테고리 없음

초콜레티(Chocolatey) 설치하기

by BillyCho 2022. 11. 17.

THE PACKAGE MANAGER FOR WINDOWS

Modern Software Automation

Chocolatey는 윈도우용 패키지 매니저이다

설치 후 virtualbox 등 명령어로 간단하게 install 할 수 있다

 

https://chocolatey.org/install

 

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.

chocolatey.org

 

사이트에 인스토 설명을 보고 간단하게 진행할 수 있다

you must ensure Get ExcutionPolicty is not Restricted 이라고 나와있다 

설명대로 PowerShell 을 관리자 권한으로 들어가 Get-ExcutionPolicty를 눌러 에러가 뜨면

Set-ExcutionPolicty AllSigned 나 Set-ExcutionPolicy Bypass -Scope Process를 입력해주면 된다

Get-ExcutionPolicty 시 위와 같이 출력되었을때는 설명에 나와있는데로 다음 스탭을 진행해주면 된다

 

위와 같이 실행 정책 정보를 변경해준다

 

실행 정책 정보를 변경했으니 초콜레티에 나와있는 스크립트를 입력할 준비가 되었다

 

 

 

초콜리티 인스톨 페이지에 나와있는 스크립트를 복사 후 입력하면 정상적으로 다운로드가 된다

 

스크립트 설치가 안 된된다면

McAfee 처럼 작동중인 보안 프로그램을 disabled 시키고 진행하길 바래여 

 

 

 

 

 

 

아래는 실행 정책 정보에 대한 문서이니 참고하시길 바래여 

https://learn.microsoft.com/ko-kr/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.3 

 

실행 정책 정보 - PowerShell

PowerShell 실행 정책을 설명하고 이를 관리하는 방법을 설명합니다.

learn.microsoft.com