Chocolatey – install the program in Windows as in Linux

By | 10.12.2018



Chocolatey – install the program in Windows as in Linux

In the Linux operating system in addition to the «classic» install software from a deb file is often used a different method of installation from the repositories using the terminal and sudo command. For example, in Ubuntu to install the application, simply run the command sudo apt-get install ProgramName. To some it may seem strange, but this is the method preferred by most Linux users, considering it is the most simple and fast.

To make installing programs as easy to use and you can in Windows, and will help you with this special command line utility Chocolatey. This tool allows you to quickly find, install and update software in Windows just as it is done in Linux. To install the console client Machine, open the administrator console CMD, copy and paste the following line and then press Enter:

@powershell -NoProfile -ExecutionPolicy unrestricted -Command «iex ((new-object net.webclient).DownloadString(‘https://chocolatey.org/install.ps1’))» && SET PATH=%PATH%;%ALLUSERSPROFILE%chocolateybin

Chocolatey – устанавливаем программы в Windows как в Linux

At the same time on your computer will be downloaded and installed client Machine, as well as an updated catalog of available applications. To change the command line and the possible change of fonts never mind. View the list of available commands and other background information by using the command help choco. Unfortunately, all of it is in English, however, to work with the client to know you need quite a bit.

Chocolatey – устанавливаем программы в Windows как в Linux

Command choco list displays a list of available applications. To date, our database Machine has approximately 2500 programs. Alternatively, to view the list, you can use the online version of the catalog located at: chocolatey.org/packages.

Team choco install program installs the selected application, the command is choco updаte — updates it. To remove an installed application, use the command choco uninstall. It’s very simple. Please keep in mind that when working with a Chocolatey command line, it is desirable to run as administrator. By the way, the installation runs in quiet mode, which can not but rejoice.

Chocolatey – устанавливаем программы в Windows как в Linux

Note: when you run the command choco install the version of the installed application is optional.

In advance in anticipation that not all Windows users like to enter commands manually, the developers of Chocolate have created a special utility that allows you to search and install software through the GUI. It is called ChocolateyGUI. To install it, run the command choco install chocolateygui, and then restart the system.

Chocolatey – устанавливаем программы в Windows как в Linux

GUI ChocolateyGUI presents a list of available programs and buttons to install, uninstall and update, so you’ll deal with her. As the client GUI Chocolatey must be run in a command prompt running as administrator.




Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *