1

Looking for some advice how can I download latest & install git & its dependencies on my machine using Powershell script. I have gone through _ but it seems its been deprecated.I am on windows and I can write the commands to download and install but not sure from where to download the installation file?

1 Answer 1

1

I'd suggest to use chocolatey to install packages as it provides a consistent interface for installing a vast variety of windows apps.

From Powershell (Ensure Get-ExecutionPolicy is at least RemoteSigned):

# install chocolatey
iwr https://chocolatey.org/install.ps1 | iex

#install git
choco install git
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.