Compile and install wget on macOS

1970 + 1722292312

Xcode

Install Xcode and Command Line Tools first.

xcode-select —install

Download and compile wget

cd ~/Downloads
curl -O https://ftp.gnu.org/gnu/wget/wget-latest.tar.gz
tar -xzf wget-latest.tar.gz
cd wget-1.24.5
./configure
# or
./configure --with-ssl=openssl
make
sudo make install

More posts