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
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!