Let’s get Chocolatey !!
Today am going to explain about “Chocolatey NuGet” is a Machine Package Manager, somewhat like apt-get, but built with Windows in mind.
Via Command Prompt (administrator)
C:> @powershell -NoProfile -ExecutionPolicy Bypass -Command “iex ((new-object net.webclient).DownloadString(‘https://chocolatey.org/install.ps1’))” && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
PS:> iex ((new-object net.webclient).DownloadString(‘https://chocolatey.org/install.ps1’))
which downloads and install in your machine.
Installing Programs :
We can install “N” of packages in windows via chocolatey, Once you’ve got Chocolatey up and running, it’s time to start installing programs. Open an administrative command prompt again and type
cinst [program name]
cinst <package name>
Example : To install vlc player, type below command with “-y” which confirms your installation permission
Cinstall vlc -y
Can search programs/pacakges with hint
choco search (keyword)
There are two ways to install multiple programs in one sitting with Chocolatey. The first is to type multiple arguments into the command line. If you wanted to install VLC, GIMP, and Firefox you’d type:
cinst vlc gimp Firefox
Updating installed programs via Chocolatey is simple too. Type
cup [program name]into an administrative command. To update DosBox, for example, type:
You can also update all your programs by typing
cup all. If your package is using an alternative source other than the main Chocolatey package feed, you can type:
cup [package name] –source
Uninstalling a package is a little different. Going back to our example, you’d type the following to uninstall DosBox:
choco uninstall vlc
Will update few more after my test…