Redis can be used as an in memory store, e.g. for storing session and application data for Node.js applications. These typically connect to the Redis server using node_redis. The connect-redis RedisStore is used to store session data.

Start the redis server ( on MacOSX following a standard MacPorts Redis install):

redis-server /opt/local/etc/redis.conf

Start the redis client:


Shut down the redis server using the shutdown command from the redis client:

redis> shutdown

Common Commands

List all keys in the store:

redis> keys *

Redis Tutorials