How to Install Chocolatey on Windows 10/11: Step-by-Step Guide
If you work with Windows and regularly install software, Chocolatey can make the process much easier. Chocolatey is a package manager that allows you to install and manage applications directly from the command line.
What You Need Before Installing
- Windows 10 or Windows 11
- Administrator access
- An active internet connection
- Windows PowerShell
Step 1: Open PowerShell as Administrator
- Press the Windows key.
- Search for PowerShell.
- Right-click Windows PowerShell and select Run as administrator.
- Click Yes when prompted.
- Run the command
Get-ExecutionPolicy. If it returnsRestricted, then runSet-ExecutionPolicy AllSignedorSet-ExecutionPolicy Bypass -Scope Process.
Now run the following command: 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'))
Step 4: Verify the Installation
Close PowerShell and open a new PowerShell or Command Prompt window.
Run:
choco --version
If Chocolatey was installed correctly, you should see its version number.
Step 5: Install Software with Chocolatey
Now you can install applications using simple commands.
For example, to install Google Chrome:
choco install googlechrome -y
4 comments
Log in to join the conversationLet me try this
Thanks so much
Welcome
Can i use it to install games?
Yes if the software is inside the choco repo.
To check use the command: choco search (software name)