How to Install Redis on Mac OS

How to install Redis on Mac OS. ┬áBefore installing redis let’s give you a quick introduction to redis.

What is Redis

Redis is an open source, in-memory data structure store, used as database, cache and message broker.

Redis supports multiple data structures such as

i) Strings
ii) Hashes
iii) Lists
iv) Sets
v) Sorted sets with range queries
vi) Bitmaps
vii) Hyperloglogs and geospatial indexes with radius queries.

Apart from supporting following data structures it has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.

Memcache Tutorial.

Subscribe Our Tutorials

Get Latest Updates on Facebook

How to Set up Virtual Host in Apache on Mac OS.

How to Install Redis on Mac OS


Install Redis using HomeBrew

If you have installed HomeBrew on you mac system then simply type following command.


Install Redis without using HomeBrew

If you don’t have homebrew no issues, let’s install redis without using homebrew.

Now redis installation is complete, start redis server using following command.

Learn the basics of Redis by trying their command online. Try redis online.


About WebRewrite

I am technology lover who loves to keep updated with latest technology. My interest field is Web Development.
Tagged , , . Bookmark the permalink.
  • John

    Great post man. Simple and easy to follow. I have one question after installing redis if i try redis-cli i got following message Could not connect to Redis at Connection refused.