install and run redis-server o 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: install redis brew
brew update
brew install redis