Chocolatey is a fantastic 3rd party software package manager for Windows. It enables you to quickly and easily install software with a single command. See below for some basic commands to use it.
To install Chocolatey open PowerShell as an admin and run:
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Run this command to be able to install packages without prompts:
choco feature enable -n allowGlobalConfirmation
You are now ready to begin installing programs using Chocolatey.
To find an application you can search for it using:
choco search notepadplusplus
To install an app you can use either:
choco install notepadplusplus
or:
cinst notepadplusplus
To install multiple applications you can use:
cisinst putty gimp notepadplusplus
To install a list of applications you can put them into an .xml file such as this:
<?xml version="1.0" encoding="utf-8"?> <packages> <package id="keepass" /> <package id="screenpresso" /> <package id="rufus" /> <package id="PotPlayer " /> <package id="winscp" /> <package id="filezilla" /> <package id="paint.net" /> <package id="iTunes" /> <package id="gimp" /> <package id="cdburnerxp" /> <package id="irfanview" /> <package id="putty" /> <package id="rdmfree" /> <package id="bulkrenameutility" /> <package id="GoogleChrome" /> <package id="Jre8" /> <package id="notepadplusplus" /> <package id="SublimeText3" /> <package id="treesizefree" /> <package id="winrar" /> <package id="teamviewer" /> <package id="tightvnc" /> <package id="nordvpn" /> <package id="raidar" /> <package id="plexmediaplayer" /> <package id="vmware-powercli-psmodule" /> <package id="vmwareworkstation" /> <package id="Office365ProPlus" /> </packages>
You can then call the .xml file using this:
choco install C:\temp\packages.config –y
To update all Chocolatey installed packages use:
cup all
To uninstall a Chocolatey package use either:
choco uninstall notepadplusplus
Or this:
cuninst notepadplusplus
If an application is in moderation you will not be able to find it in search. You can install it if you specify the version like this:
cinst gns3 --version 2.1.15