how to add wget utility to git bash for windows



how to add wget utility to git bash for windows

how to add wget utility to git bash for windows

Since a viewer requested debugging steps on my initial video so, this is a detailed step by step take-two on how to add wget to git bash.

Hope this helps, please subscribe 🙂

In this video first I will show you that when I type wget in git-bash I get command not found error message.

Next I will show you how to google and find the wget utility download page.

We will download wget.exe from website https://eternallybored.org/misc/wget/

Then we will cover which type of wget utility to download 32 bit or 64 bit, for this you can use the “System Information” in windows via pressing windows key and then typing “System Information” or you can do it via command line.

For command line we will visit this forum:

https://superuser.com/questions/96092/how-can-i-determine-if-the-current-version-of-windows-is-either-32-bit-or-64-bit

and use the below commands in command prompt:

wmic OS get OSArchitecture
and
systeminfo | findstr /I type:

Once we are sure of our architecture type, we will then download the wget.exe from website https://eternallybored.org/misc/wget/

Once downloaded we will then run the wget.exe from downloads folder via command prompt to verify that it works.

We will then press windows key and type “git bash” and then click on “open file location” then right click the git bash icon and click on properties to see where it is installed.

Once in the git bash installation directory we will then goto mingw64 folder and inside it we will goto bin folder.

We will then open downlods folder in a new window and then copy paste the wget.exe to mingw64/bin folder.

Next we will open new git bash window and type wget, the command will work correctly as it is part of the git bash command line utilities path.

Channel #Rahul Random Learnings #RahulRandomLearnings #RahulRandom Learnings Opinion Disclaimer:
The views and opinions expressed here are my own and not the views of my employer.
The content uploaded on my channel is not intended to malign any religion, ethic group, club, organization, company, individual or anyone or anything.

Comments are closed.