Chocolatey
Chocolatey adalah package manager untuk Windows.

Kebutuhan sistem

  1. 1.
    Windows 7+ / Windows Server 2003+
  2. 2.
    PowerShell v2+ (minimum is v3 for install from this website due to TLS 1.2 requirement)
  3. 3.
    .NET Framework 4+ (the installation will attempt to install .NET 4.0 if you do not have it installed)(minimum is 4.5 for install from this website due to TLS 1.2 requirement)

Instalasi

  1. 1.
    Jalankan PowerShell dengan mode Administrator.
  2. 2.
    Eksekusi dalam PowerShell perintah Set-ExecutionPolicy Bypass -Scope Process
  3. 3.
    Setelah itu jalankan perintah berikut,
    1
    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
    Copied!
  4. 4.
    Tunggu sampai selesai, jika tidak muncul pesan error jalankan choco.

Perintah Umum

Cek package yang butuh update

1
choco outdated
Copied!

Update package

1
choco upgrade <NAMA_PACKAGE> -y
Copied!
1
choco upgrade all -y
Copied!

Cek package yang terpasang

1
choco list --local-only
Copied!

Cari package

1
choco search <NAMA_PACKAGE>
Copied!

Install package

1
choco install <NAMA_PACKAGE> <NAMA_PACKAGE> <NAMA_PACKAGE> -y
Copied!

Hapus package

1
choco uninstall <NAMA_PACKAGE> -y
Copied!
1
choco uninstall all -y
Copied!