with wget

wget https://example.com/index.html

with cURL

curl -O https://example.com/index.html