I would recommend you to restart your computer before you carry out any real activity using Chocolatey. The installation of Chocolatey using Command Prompt or Windows PowerShell is complete now. Wait for the download and installation process to be complete, and once it is complete, you can get back the prompt to enter a command and carry out your work. Set-ExecutionPolicy Bypass -Scope Process -Force iex ((New-Object ).DownloadString(''))
Now type in the following command to install Chocolatey using Windows PowerShell. Open Windows PowerShell with administrator rights by right-clicking on the Start menu and by clicking on ‘ Windows PowerShell (Admin) ’. #Using Windows PowerShell to install Chocolatey Step 1: Using PowerShell You will get the following screen, and once the installation is complete, you can get back the prompt to enter the subsequent commands. Let Command Prompt download and install Chocolatey for you. Now type in the following command, and hit the enter key to execute the -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object ).DownloadString(''))" & SET "PATH=%PATH% %ALLUSERSPROFILE%\chocolatey\bin" So that was all about the minimum requirements to run Chocolatey on your Windows computer. NET Framework 4 or better should also be installed on your computer. You should be running Windows 7 or Windows 2003 or any other later version of Windows along with PowerShell v2 or any later version to use Chocolatey.The minimum requirements to install Chocolatey package manager So without further delay, let’s get started with how you can start installing apps on Windows directly from the Command Prompt or PowerShell, whichever is convenient for you. It isn’t going to cost you an arm and a leg, nor it is going to be too challenging. As Windows doesn’t have native support for installing programs directly from the Command Prompt, you will have to use third-party software to enable this feature on Windows. Even though it is easy to manage programs on Windows in the user-friendly GUI, you should keep a constant tab to prevent the installer from installing any malware or unnecessary programs.Ĭonsidering likes and dislikes for the Terminal and the GUI to be a relative aspect, the good side is, you can even install programs on your Windows computer using the command line, just the way you do it on Linux-based operating systems or Linux distributions.
On the other hand, Windows users enjoy the graphical user interface to install, update and uninstall programs and packages, which isn’t unified for all the programs you use regularly.
While most users are not comfortable with the interface of the command line or Terminal on Linux distributions, it is undeniably a great tool, if you know how to use it.
The Linux distributions come with a package manager, which is a powerful tool for most power users to install, update and remove packages, directly from the command line or terminal. In this article will show how to install programs and packages from the Command Prompt/Power shell on Windows operating system using Chocolatey – The package manager for Windows