> For the complete documentation index, see [llms.txt](https://jack80342.gitbook.io/spring-boot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jack80342.gitbook.io/spring-boot/ii.-getting-started/10.-installing-spring-boot/10.2.-installing-the-spring-boot-cli/10.2.3.-osx-homebrew-installation.md).

# 10.2.3. 使用OSX Homebrew进行安装

如果你的环境是Mac，并使用[Homebrew](http://brew.sh/)，你可以使用下面的命令安装Spring Boot CLI：

```
$ brew tap pivotal/tap
$ brew install springboot
```

Homebrew会把spring安装到`/usr/local/bin`下。

**注**：如果该方案不可用，可能是因为你的brew版本太老了。你需要执行`brew update`，然后重试。
