install redis locally mac code example
Example 1: install redis on mac pro
//Using Homebrew it is quite easy to install-
brew update
brew install redis
//To check
redis-cli ping
//if you are getting PONG Then you are good to go(y)
Example 2: brew service start redis
brew services start redis