'Set-ExecutionPolicy' is not recognized as an internal or external command, operable program or batch file. getting this error while trying to install chocolaty through cmd
Set-ExecutionPolicy is a PowerShell Cmdlet.
You should run it in a PowerShell (Admin-) Session, not in cmd.
Take a look at the installation instructions from chocolatey.org. Official chocolatey documentations is pretty good, as I think:
https://chocolatey.org/install#individual
Just right click on "powershell" then choose "run as adminstrator"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With