Ethereum- How to Install Git on Windows

Ethereum- How to Install Git on Windows

In this blog post, we show you how to setup or install Git on windows system.

This is second post of series where we discuss about setting up development environment for Ethereum that we need before we start with smart contract development. Click Post 1 to go over the first post where we discuss about installation of NodeJs.

Let's see how to Install Git on windows.

If you prefer to watch video then go over below video and see the Git setup.

Watch Video- How To Install Git on Windows

We have two options to setup Git on windows as mentioned below.

  1. Using chocolatey
  2. Using direct window installer

Let's go over these options one by one.

Using Chocolatey

This is recommended option from our end but before we setup Git, we need to install chocolatey on windows system. You can skip below step if chocolatey is already installed on your system.

To Install chocolatey visit below link and go to "Install with cmd.exe" section.

https://chocolatey.org/install

Now run below command as given on above link on window command prompt.

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

This command install chocolatey on window system. Now let's see how to install Git on windows using chocolatey, for that run below choco command and that will download and install Git on the system.

 choco install git  -y

 

Wait for some time and Git gets installed on the system.

Using direct window Installer 

Go to below link and download the window installer. Run that executable file and choose default option.

https://gitforwindows.org/

No Comments

Post a Reply

Inquire Now
close slider