How to Install Redis on Mac

This article is for installation with respect to Redis, Redis is an open-source caching system you use is for caching inside your project to decrease the latency of your project and increase the response.

Redis

I am assuming that brew is already installed in your system.

Step 1:-

$ brew install redis

Step 2:- Verify the Redis in your machine through the given command.

$ redis-cli

If you get this error

Could not connect to Redis at 127.0.0.1:6379: Connection refused

then use this command to run the service

redis-server

after this command you use Redis CLI.

That’s it for this time! I hope you enjoyed this post. As always, I welcome questions, notes, comments and requests for posts on topics you’d like to read. See you next time! Happy Coding !!!!!

--

--

Ankit Kumar Rajpoot

I’m a MERN Developer. ( Redux | AWS | Python ) I enjoy taking on new things, building skills, and sharing what I’ve learned.