How to install wget on macOS


To install wget on macOS you can make use of the brew installer,

Run the below command to install wget,

% brew install wget
Command Output:
==> Downloading https://ghcr.io/v2/homebrew/core/wget/manifests/1.21.1-1

Already downloaded: /Users/code2care/Library/Caches/Homebrew/downloads/3a61b127a2161ac4573557b1c9b6e48233fd658b3f1d349045914749115926c9--wget-1.21.1-1.bottle_manifest.json

==> Downloading https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:ab03f58f6d9a4018b1b0bfd53e5b797fcd90b86b1d60b20948de499ec4d4c6b4

Already downloaded: /Users/code2care/Library/Caches/Homebrew/downloads/a9d50518f3f84743b3c6a198585bee715883810e86d637443c5369861854bf63--wget--1.21.1.arm64_big_sur.bottle.1.tar.gz

==> Pouring wget--1.21.1.arm64_big_sur.bottle.1.tar.gz
🍺  /opt/homebrew/Cellar/wget/1.21.1: 88 files, 4MB

If you want to uninstall wget use the command,

% brew uninstall wget
Uninstalling /opt/homebrew/Cellar/wget/1.21.1... (88 files, 4MB)

Warning: The following may be wget configuration files and have not been removed!
If desired, remove them manually with `rm -rf`:
  /opt/homebrew/etc/wgetrc
Advertisements
Try Out Code2care Dev Tools:

Advertisements



Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Advertisements


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR - https://donate.unhcr.org/in/en-in/ukraine-emergency