用惯了linux的wget命令,在macOS没有替代 可以使用curl -O进行替换
wget
curl -O
vi ~/.zshrc alias wget='curl -O'
保存的文件名与远程服务器一致,如需指定文件名可调用-o参数
curl -o b.zip http://dl.file.com/a.zip