How to Install Redis on Mac OSX

In this post we will see How To Install Redis On Mac OS X

To install Redis, run the following commands:

$ mkdir redis && cd redis
$ curl -O
$ tar xzvf redis-stable.tar.gz
$ cd redis-stable
$ make
$ make test
$ sudo make install

Now to start Redis server, you can run this command.

$ redis-server

To Test if Redis server is running run this command.

$ redis-cli ping

If it replies “PONG”, then it’s good to go!

To set a value run the following commands

$ redis-cli
redis> set foo bar
redis> get foo

Video Instructions

Partner Sites

1 Comment

Leave a Reply

Your email address will not be published.