In this article, I’m going to talk about a software named Chocolatey. This app is basically a package manager for windows. A package manager is an app that helps you to install multiple apps at the same time.
You might have come across such things if you’ve ever been to Linux. There you just have to type some commands like “sudo apt-get install google-chrome” and the corresponding app will be installed without bothering you. no clicking next — next — I agree to the terms and freaking conditions etc.
So how do I install Chocolatey:
You can either go to chocolatey.org or you can type the following command in PowerShell and it will be installed in your system.
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’))
Now the stage is set up. All you need to do is perform now.
So, run the command prompt with administrator and type “choco install dropbox” if you want to install dropbox and so on.
You may run into some errors like when I wanted to install Iobit Uninstaller I wrote “choco install Iobit Uninstaller” and it didn’t work. So, I visited their site and head over to the package section where I searched for that app and found out that the command should have been “choc install iobit-uninstaller”. This also happened in the case of LibreOffice. The intended command was “choco install libreoffice-fresh” (how would I have known!)
If you don’t want any obstacles you can type like “choco install potplayer -y”. This added -y will prevent the reconfirmation dialogue to appear, otherwise it will ask you every time “are you sure you want to install the app?” So, add this -y to avoid this sort of situation.
This one is a reward for reading this far. So, all I discussed so far tells you to install apps one by one without obstructions but what if we can take this a step further?
Let me assume you already installed chocolatey. Now think all the apps that you want to install then type their corresponding commands line by line in a text file. Then save that as a .bat file. You can give whatever name you want to that file only remember to add .bat at the end.
Now run the file as admin and all the apps that you wrote the commands of will be installed one after another smoothly while you can relax and read the newspaper (if you’re into that or you can read a storybook-like me)