
Now, posh-git can be installed through various means for instance through Chocolatey, PowerShellGet, Scoop or even manually. Install it finally Step 1: Installing posh-gitīefore we begin, it is good to note that the installation instructions covered here applies only to version 1.x of posh-git. Set preferred terminal emulator and hit “ Next“Ĭhoose the behavior of git pull then hit “ Next“Ĭhoose your preferred credential helper before hitting “ Next“ Click “ Next“Ĭlick on “ Next” after choosing the right editor for you.Ĭhoose how you would like to use Git from the command line and Click “ Next“Ĭonfigure Git-related settings an Click “ Next“ If you do not have Git installed, you can use our comprehensive guide to install it via Ansible AWX or you can download it from this site then install the EXE file the normal way by clicking “ Next“ till the end as illustrated below.ĭouble click on it to set installation in motion. Git must be installed and available via the PATH environment variable.Ĭheck that git is accessible from PowerShell by executing the command below from PowerShell. For a better picture, check the screenshot below with the two commands executed iii. Simply strike enter because that will accept the confirmation by default. The above command will ask you if you to confirm. If the policy is not set to one of the two required values, run PowerShell as Administrator and execute: Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Confirm On Windows, script execution policy must be set to either RemoteSigned or Unrestricted.Ĭheck the script execution policy setting by executing Get-ExecutionPolicy.

Windows PowerShell 5.x or PowerShell Core 6.0.Ĭheck your PowerShell version by executing the command below: $PSVersionTableĪlso check the screenshot below for clarity ii.

Before embarking on getting posh-git installed, make sure the following pre-requisites have been met.
