安装:sudo brew install wget 下载单个文件:wget http://www.baidu.com。命令会直接在当前目录下载一个index.html的文件 参考:https://www.cnblogs.com/lxz88/p/6278268.html