brew install redis
安裝完成后顯示
To have launchd start redis now and restart at login:
brew services start redis
Or, if you don't want/need a background service you can just run:
redis-server /usr/local/etc/redis.conf
啟動(dòng):
brew services start redis