Installing Redis

Technically, at this point, we are already using Redis to store some of our application state. Express/Connect is using Redis as its session store, although if you came from an earlier chapter because you do not have Redis installed, we will cover how to do it in this chapter.

Installing on Mac OS X

We will start with Mac OS X. We are going to use brew again as it makes installing software incredibly easy. In a terminal, type the following command:

brew install redis

You should then see something similar to the following screenshot:

Installing on Mac OS X

At the time of writing, Redis 2.8.8 was the newest stable version and brew installed Version 2.8.5. ...

Get Building Scalable Apps with Redis and Node.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.