1,下载地址
2,下载完成之后解压
然后进入加压后的根目录执行命令
$./configure

3,执行命令
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

4,回车输入密码安装所需工具
会安装Command Line Tools.(这个工具是xcode的工具),等待所有的工具都安装好之后入下图

5,安装wget
$ brew install wget
安装结果如图

这个时候wget就已经安装成功了
6,我们可以测试一下命令
$wget http://labfile.oss.aliyuncs.com/courses/1126/Sources.zip
执行下载结果如图

网友评论