There’s a lot to be said for app stores and the way they simplify the installation and updating of software, but Linux users can take advantage of the apt-get command to gain more control over things. With Chocolatey, Windows users can do much the same from the command line.
@powershell -NoProfile -ExecutionPolicy unrestricted -Command “iex ((new-object net.webclient).DownloadString(‘http://chocolatey.org/install.ps1′))” && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
Wait for a second while a connection is established, and Chocolatey will be downloaded and installed for you.
Grabbing any new software you want to install is now a simple matter of bringing up a Command Prompt window and typing cinst [appname].
So if you wanted to install a copy of the FileZilla FTP client, you just need to type the following before pressing Enter:
This is obviously a good deal faster than heading over to the official FileZilla website, locating the correct download link, and then saving an executable to your hard drive before starting the installation.
The command needed to download and install apps in this way is pretty intuitive. Want a copy of Firefox? Type ‘cinst Firefox’. Want OpenOffice? ‘cinst OpenOffice’. There are also handy combination packages such as All Browsers (cinst allbrowsers) that install multiple applications at once – in this case Chrome, Opera, Firefox, and Safari.
For a full rundown of the packages that are available, head over to the searchable list on the Chocolatey website.
Had enough of an app and want to get rid of it? There’s a command for that too.
Updating apps is similarly simple; to update FileZilla, for example, just type:
You can also check for updates for all of your installed apps – those that have been installed through Chocolately, at least – with the following command:
There is a GUI available for Chocolatey (cinst ChocolateyGUI) – this kind of goes against the idea of replicating app-get, but it’s handy nonetheless.
- Published 03/27/13