How to install Redis on OS X

This is my setup of redis with OS X 10.9.2 Mavericks and requires brew.

brew install redis

Start redis when computer starts:

ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents

Start redis:

launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist

Without using `launchctl:

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

Check is redis is correctly running:

redis-cli ping

This should reply with PONG if successful.

Configuration

The configuration file is located in /usr/local/etc/redis.conf.

Uninstall redis:

brew uninstall redis; rm ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
Apr 4, 2014 Servers