$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Change china mirror to speed up link
$ brew install git
$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
$ nvm install 14.16.1
$ brew tap mongodb/brew
$ brew install [email protected]
more details for install mongodb
$ brew install redis
$ redis-server