Run on Terminal
ターミナルから直接ダウンロードする場合は、次のコマンド(とオプション)でダウンロードできます
wget
$ wget "URL" -O FILENAME
$ wget "URL" --output-document FILENAME --quiet
-q, --quiet: quiet (no output)-O, --output-document=FILE: write documents to FILE
curl
$ curl -L "URL" -o FILENAME
-L, --location:-o, --output:
httpx
$ pipx install "httpx[cli]"
$ httpx "URL" --download FILENAME --follow-redirects
httpxis modern HTTP client for Python3
Note
httpx can be installed using pipx or uv.
$ pipx install "httpx[cli]"
$ uv tool install "httpx[cli]"