

Once Chocolatey is installed, restart the CMD or PowerShell. For this, open the Windows Command Prompt with administrative privileges and run the following -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "::SecurityProtocol = 3072 iex ((New-Object ).DownloadString(''))" & SET "PATH=%PATH% %ALLUSERSPROFILE%\chocolatey\bin"Īlternatively, you can run PowerShell with administrative privileges and -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "::SecurityProtocol = 3072 iex ((New-Object ).DownloadString(''))" & SET "PATH=%PATH% %ALLUSERSPROFILE%\chocolatey\bin" To use Chocolatey, you first need to install it on your PC. It works with all versions of Windows, starting with Windows 7. Installing Git Using ChocolateyĬhocolatey is a Windows package manager that helps you install and update software packages on your Windows PC.

You can either use an automated installation setup or take advantage of the Chocolatey package manager to install Git via the command line or install it directory from the source for the latest version.

Git can be installed on Windows in a few different ways.

reg file with your registry by double-clicking it.Being a DVCS, Git doesn’t have a centralized repository. In settings, add a new element to the “Profiles” section: "profiles" : [ with the correct folder name in C:\Users\ on your machine.
