Chocolatey is PowerShell-based, but it can be installed from the command line – just type out or copy and paste the following code and then hit Enter,:
@powershell -NoProfile -ExecutionPolicy unrestricted -Command “iex ((new-object net.webclient).DownloadString(‘http://chocolatey.org/install.ps1′))” && SET PATH=%PATH%;%systemdrive%\chocolatey\binWait 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].
cinst filezillaThis 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.
cuninst filezillaUpdating apps is similarly simple; to update FileZilla, for example, just type:
cup filezillaYou can also check for updates for all of your installed apps – those that have been installed through Chocolately, at least – with the following command:
cup allThere is a GUI available for Chocolatey (cinst ChocolateyGUI) – this kind of goes against the idea of replicating app-get, but it’s handy nonetheless.
Source : http://www.howtogeek.com/