ダウンロードしたい(wget)

$ wget URL

wgetは、指定したURLのコンテンツをダウンロードするコマンドです。

インストールしたい(wget)

$ brew install wget
$ wget --version
GNU Wget 1.25.0 built on darwin23.6.0.

wgetはHomebrewでインストールできます。

ファイル名を指定したい(-O / --output-document)

$ wget -O ファイル名 URL
$ wget --output-document ファイル名 URL

--output-document(-O)で、任意のファイル名で保存できます。