markdown BREW命令

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown BREW命令相关的知识,希望对你有一定的参考价值。

# BREW Command

## BREW Installation

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

brew update
brew upgrade
brew doctor
brew cleanup -s
```

## PHP Installation

```bash
brew search php

brew install php@7.2
brew link php@7.2 --force
```

## MySQL Installation

```bash
brew search mysql

brew install mysql-client
brew link mysql-client --force
```

## Extra Installation

```bash
brew install wget
brew install composer
brew install git
brew install bash
echo '/usr/local/bin/bash' | sudo tee -a /etc/shells;
chsh -s /usr/local/bin/bash
```

以上是关于markdown BREW命令的主要内容,如果未能解决你的问题,请参考以下文章

markdown 启动MySQL(Brew)

markdown Brew更新提示

markdown brew_nginx

markdown mac brew

markdown Brew在Mac上安装Redis

markdown 通过Brew在OSX上设置PHP和Composer