Install git with PowerShell on Windows

Posted by

With the following PowerShell function you can download and install git using PowerShell.

It downloads the latest “stable” git release to the given temp directory and installs it with default parameters.

Another and more easy way is using the package manager Chocolatey.
The Script:

Leave a Reply

Your email address will not be published. Required fields are marked *