brew install redis

Starting and stopping Redis in the foreground
redis-server
If successful, you’ll see the startup logs for Redis, and Redis will be running in the foreground.
To stop Redis, enter Ctrl-C.

Starting and stopping Redis using launchd

brew services start redis
This launches Redis and restarts it at login. You can check the status of a launchd managed Redis by running the following:
brew services info redis

To stop the service, run:
brew services stop redis
Connect to Redis
Once Redis is running, you can test it by running redis-cli:
redis-cli