How to use Chocolatey Choco to Install GIT on Windows?
Linux Users do enjoy the advantage of installing hundreds of software with a single command, so In WINDOWS we do have a WINGET package manager built in WINDOWS which is not sufficient so we have CHOCOLATEY so with this we can install most of the software from Spotify to Discord directly from the very genuine repository
Prerequisites
- Install Chocolatey from https://chocolatey.org/install
- How to Check if properly installed? Run Choco in your Command Prompt
Choco
- If you haven’t installed Chocolatey Open PowerShell as an Administrator
- 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’))
- After Successful installation Check for Chocolatey by running Choco -? in the command prompt
- Now it’s time for installing Git using Chocolatey
- Run the following command in the command prompt by launching it as administrator
choco install git.install
- After executing the above command
- Finally, Check whether Git is installed Successfully or not?
- Run the following command by launching it as administrator
git –version
- You can either check it via Windows search
Contact Us