brew install redis
brew services start redis
redis-cli ping
The system responds with a ‘pong’ if the server is up and running.
brew uninstall redis
redis-cli --version
brew services start redis brew services stop redis brew services restart redis