---
title: "mac 下安装wget"
author: "BlueSkator"
date: "2015-07-28T10:48:57Z"
tags: []
categories: ["操作系统"]
slug: "mac-wget"
draft: false
lastmod: "2015-07-28T10:48:57Z"
id: 2230852
url: "https://blueskator.iteye.com/blog/2230852"
---

1、安装brew ，官网http://brew.sh，

（1）粘贴脚本

```
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```

 安装brew 成功，测试 brew --version

 

2、安装wget

```
brew install wget
```

 

3、测试

 

```
wget www.baidu.com
```