본문 바로가기
DEVELOPER HARRY/ETC.

ETC#1. Chocolatey(초콜레티) 설치

by 갈색토마토 2020. 12. 2.

안녕하세요Harry입니다.

 

ETC#1 게시글로 "초콜레티"라는 패키지 매니저를 소개시켜드리고자 합니다.

패키지 매니저란
  • 패키지 매니저(Package manager)는 패키지를 다루는 작업을 편리하고 안전하게 수행하기 위해 사용되는 도구(틀)를 말합니다.
  • 패키지를 다루는 작업이란 설치, 업데이트, 수정, 삭제하는 작업을 의미합니다.
초콜레티란
  •  "윈도우OS에서 프로그램이나 패키지를 쉽게 다운로드 받고 관리를 할 수 있는 패키지 매니저"입니다.
초콜레티 설치

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

링크를 클릭하면 아래의 화면으로 접속이 가능하게 됩니다.

초콜레티 이미지#1

요구사항

  • Windows 7+ / Windows Server 2003+
  • PowerShell v2+
  • .NET Framework 4+ (the installation will attempt to install .NET 4.0 if you do not have it installed)
설치 명령어(install)

Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

 

만일, 'Set-ExecutionPolicy'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다.라는

문구가 commnad 창에 출력이 된다면 아래의 명령어를 실행 해주세요.

 

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

 

초콜레티 이미지#2

 

위의 명령어를 입력 실행하여, 설치가 완료되었다면 실행되어 있는 Command창에서

확인을 위해 아래의 이미지와 같이 'choco'를 입력하여 설치된 버전을 확인해주세요.

초콜레티 이미지#3

 

위의 이미지와 같이 설치된 버전이 출력되었다면, 설치가 완료된 것입니다.

 


이상으로 초콜레티 설치를 마치며, 더욱 유익한 정보를 가지고 오도록 하겠습니다.

Harry 올림

 

댓글