I've always used Phil Haack's method of installing Posh-Git, with the following PowerShell commands:
(new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | iex
install-module posh-git
The first line installs PsGet
, and the second Post Git
. I've also just tried install-module posh-git
, having installed PsGet
.
What happens is that the Post-Git prompt shows in the same PS Window I installed it in, but when I close that window and open another, Post-Git seems gone again.
This is a new machine, with a new Windows 10 Pro. Posh-Git worked on my old one, also with Windows 10 Pro, the only difference I know is the new one is SSD, and that shouldn't affect any of this.