
Run Installation Commandįor the installation to happen on your Windows system, use the command below Set-ExecutionPolicy Bypass -Scope Process -Force ::SecurityProtocol = ::SecurityProtocol -bor 3072 iex ((New-Object ).DownloadString('')) Since it has returned, as unrestricted, then I can now continue to do chocolatey installation. PS C:\Users\Valentine> Get-ExecutionPolicy If it returns Restricted, then run Set-ExecutionPolicy AllSigned or Set-ExecutionPolicy Bypass -Scope Process. Before then, you need to also enable the execution policy, ensure that it is not restricted, just like we did while using PowerShell in the removal of bloatware on windows.

To install this tool, use PowerShell.exe as administrator. NB/ Ensure that you run powershell as administartor lest you get an error.

Manages all available software on Windows which include software installers, internal software, zip files and scripts.Can be installed, tested and implemented on any Windows Operating System.You can uninstall/reinstall packages from the GUI.Install Windows software - Ansible module win_chocolatey Features

There will be a shortcut for this in your Start Menu too. Some of the most popular packages include Chrome, Firefox, Java, Flash, Notepad++, 7zip, Git & Python. There’s about 8,000 maintained packages at the time of writing this. Installing a package is done with ‘choco install ’. Run the following script within PowerShell (as Administrator): Set-ExecutionPolicy Bypass -Scope Process -Force ::SecurityProtocol = ::SecurityProtocol -bor 3072 iex ((New-Object ).DownloadString(''))Ĭheck the version of choco to verify the install, or go ahead and install a package (e.g. # Install Chocolatey using PowerShell # Install Chocolatey GUI

In this post after I install Chocolatey I’m installing a GUI to view all installed packages. Install Windows software - Ansible module win_chocolateyĬhocolatey allows you to manage software packages on your system with simple ‘choco’ commands.
