Jumat, 08 Juni 2018

Chocolatey - Package Manager untuk Windows

Chocolatey adalah package manager (seperti halnya di LINUX yaitu apt-get / yum) yang berfungsi untuk mengatur dan mengotomasi program dalam komputer, seperti install, upgrade, dan menghapus program.

Requirements


  • 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)
  • That's it! All you need is choco.exe (that you get from the installation scripts) and you are good to go! No Visual Studio required.

Cara install Chocolatey di Windows

Dengan CMD

@"%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"
*disarankan mengunakan mode adminstrator

Cara Melihat Versi Chocolatey


Masukan perintah berikut di CMD
choco -v


Dengan PowerShell

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

Cara Upgrade Chocolatey di Windows

Masukan perintah berikut di CMD
choco upgrade chocolatey

Cara Uninstall Chocolatey

Lihat disini.

Reference

codepolitan*com/chocolatey-package-manager-seperti-apt-get-untuk-windows
chocolatey*org
Load disqus comments

0 komentar