eXeler0n

Stay up to date with Chocolatey


Translations: de


There is one thing in Linux that I really love - the package management. Most programs can be installed via the package management. And this then keeps the programs up to date. Under Windows, there is now the Windows Store. But it is slow and has little choice. A better alternative is the small tool Chocolatey.

Chocolatey is a small tool for PowerShell, but you can also install an interface if you want to. I prefer to work in PowerShell.

Installation

The installation of Chocolatey is actually quite simple. First you open the PowerShell as administrator. You always have to do this in the future when you use it.

Then enter the following commands and wait for the installation.

Set-ExecutionPolicy AllSigned or Set-ExecutionPolicy Bypass -Scope Process

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'))

And Chocolatey can be used. For testing just type choco -?.

Usage

From now on it becomes very simple. You can now search, install and update programs.

Search: choco search APPLICAtION
Install: choco install PROGRAMMNAME
Update: choco upgrade PROGRAMMNAME
Update all: choco upgrade all

Some programs have an auto-updater, e.g. Steam, but for simplicity I install everything via Chocolatey. It's also interesting that you can install multiple programs with one command. I use that when I reinstall my system.

choco install firefox steam discord teamspeak3 jre8 foxitreader choco-upgrade-at-startup ...

Especially the last package is very handy. choco-upgrade-at-startup updates all programs directly after boot. So all programs are always up to date. This is also very useful if you manage the computers of relatives and friends. Then you don't have to do updates every time you visit them, it's done automatically in the background.

If you prefer a GUI, you can install chocolatey-gui. This has all the functions in a graphical interface. Another tip: Normally you have to confirm updates and installations. The question still says how to disable this permanently. Just enter the command and Chocolatey will run in the future without asking.

Did you know Chocolatey? Is the tool interesting for you? Or do you use alternatives like Ninite?

Stay fluffy!


WERBUNG: Mit Stern (*) markierte Links sind Amazon Partnerlinks. Wenn du innerhalb von 24 Stunden nach dem Klick auf den Link etwas bei Amazon bestellst, dann erhalte ich eine Provision.