Install Redis on Mac OS
- You can install Redis on MacOS using the below command:
brew update
brew install redis
- Run the below command to start the redis services
brew services start redis
You can also use the below command to start manually:
redis-server /usr/local/etc/redis.conf
- Stop the Redis server using the below command
brew services stop redis
- To check if Redis is running, run the below command
redis-cli ping
If it displays pong then redis is all good to go.