ANSWER : Try this cmd for windows powersell
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Here is the link for the official website of Chocolatey https://docs.chocolatey.org/en-us/choco/setup/#more-install-options