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.

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

How to Install Redis on Mac OS

1)

Install Redis using HomeBrew

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

2)

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.

Tagged , , . Bookmark the permalink.

About WebRewrite

I am technology lover who loves to keep updated with latest technology. My interest field is Web Development.