Sunday 29 November 2015

Chocolatey - A package manager for windows

Think of a situation where you have to re-install your windows and need to install all the necessary softwares again. Its heck of a work to find all the softwares till you keep a copy of all in one place. Now no more worries about keeping all softwares or remembering the website. Here is a package(software) manager that will help  you with all that.

Chocolatey is a package manager for windows.

How to install?

Run this command into your command prompt.

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString(''))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

How it will help?
Its got 2,941 unique packages as of today.

The only problem is you have to use command prompt to install software and use the exact keyword to install the software. For example to install VLC media player keyword is vlc.

For installation command is: choco install <PackageName>
For upgrade command is: choco upgrade <PackageName>
For searching a package: choco search <Software Name>

Here is list of all the commands you can run Chocolatey Commands Reference.

You can also create a package of your own. Command for that is following: choco new <PackageName>. There are certain rules which you need to take care of can be found here: 
choco install notepadplusplus googlechrome atom 7zi For installing multiple softwares once you can use: 

choco install notepadplusplus googlechrome atom 7zip

This will install Notepad++, Chrome,Atom & 7zip

No comments:

Post a Comment