How do I install Chocolatey to Windows 10?

Step 1

Open Powershell.

Step 2

Get-ExecutionPolicy

2023-06-08--12-25-57

If it returns Restricted, then run Set-ExecutionPolicy AllSigned or Set-ExecutionPolicy Bypass -Scope Process.

chocolatey.org/install#individual

Step 3

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'))

2023-06-08--12-30-52

chocolatey.org/install#individual

Result

2023-06-08--12-33-50