wget http://download.redis.io/releases/redis-5.0.2.tar.gz
tar zxf redis-5.0.2.tar.gz
sudo mv redis-5.0.2 /usr/local/redis
cd /usr/local/redis
sudo make test
sudo make install
redis-server
启动 redis 成功
curl -O https://fastdl.mongodb.org/osx/mongodb-osx-ssl-x86_64-4.0.4.tgz
tar -zxvf mongodb-osx-ssl-x86_64-4.0.4.tgz
sudo mv mongodb-osx-x86_64-4.0.4 mongodb
vi ~/.bash_profile中添加环境变量
source ~/.bash_profile
sudo mkdir -p /data/db
./mongodb
./mongo
启动 mongodb 成功
sudo npm install n -g
n 8.9.1
指定 8.9.1 版本
https://github.com/easy-mock/easy-mock
git clone https://github.com/easy-mock/easy-mock.git
cd easy-mock && npm install
npm run dev