A package manager is a collection of software tools which automates the process of installation, along with the upgrading and configuring process as well. Package manager is a common feature in Linux based operating system. Some common package manager for Unix/Linux based operating systems are: Dpkg, Yum, etc. However, in Windows, package manager was not that much common at all earlier, but Chocolatey has filled the gap afterward.
Chocolatey is basically a software management solution for the Windows operating system. Chocolatey implements the full package management techniques. It also allows us to version different items, manage their dependencies along with the installation order, It helps to improve the inventory management as well.
You can install mostly used necessary software on your Windows operating system directly using the Chocolatey package manager.
Make sure that you have the following prerequisite:
- Windows 7+ / Windows Server 2003+
- PowerShell v2+ (minimum is v3 for install from this website due to TLS 1.2 requirement)
- .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)
- Open the PowerShell with the Administrator access by clicking on the Run as Administrator.
- Enter the command and press on the
- If it returns Restricted, then run the following command.
In the prompt, press
A for All.
- Run the following command afterward.
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
- Wait for some time and let the process finishes. After finishing, you can check out the version of the Chocolatey by using the following command.
- You are good to go with the Chocolatey package manager.
You can check for the software/packages you want to install from here. I prefer installing these as early as possible.
choco install -y directx
- Microsoft Visual C++ Runtime - all versions 1.0.1
choco install -y vcreditst-all
- Adobe Acrobat Reader DC 2021.007.20099
choco install -y adobereader
- Google Chrome Web-browser
choco install -y googlechrome
choco install -y 7zip.install
- Python 3.x 3.10.0
choco install -y python3
choco install -y git.install
- Node JS
choco install -y nodejs.install
- VS Code
choco install -y vscode
- Mozilla Thunderbird
choco install -y thunderbird
If you want to check the installed package list, then you can also do so by using the following command.
choco list --local-only