The option to use cmd is most often used for Windows, and PowerShell for running scripts. We can install Chocolatey via the command line or through PowerShell. There are two options for installing Chocolatey. That's it! Let’s move on to the installation. NET 4.0 if you do not have it installed). NET Framework 4+ (the installation will attempt to install.
Chocolatey Software, Windows 7+ / Windows Server 2003+ PowerShell v2+.