Shaun Luttin
Shaun Luttin

Reputation: 141512

Steps to Install Git from source, install Post-Git from source, and then load up Posh in PowerShell?

The Pro Git Installing Git article says:

If you can, it's generally useful to install Git from source...

Phil Haack's blog post on Posh-Git says:

Once you have Posh-Git loaded up, your PowerShell window lights up with extra...

And the Posh-Git repository installation instructions gives high-level install instructions.

Together, these three links give a high level map of setting up and using Git locally but do not go into details.

So, what we want is a a step-by-step guide to installing Git, installing Posh-Git, and then loading up Posh.

Upvotes: 1

Views: 1579

Answers (1)

dahlbyk
dahlbyk

Reputation: 77540

Check out https://github.com/msysgit/msysgit for building Git for Windows. (For what it's worth, I've never built Git on Windows and don't consider myself to have missed out.)

Once you have Git built (or installed):

  1. Add the location of git.exe to your %PATH%
  2. Clone posh-git to a directory of your choosing
  3. Run posh-git's install.ps1 to install the default prompt in your $PROFILE

Upvotes: 2

Related Questions