Homebrewを利用してインストール
brew install redis
==> Downloading http://redis.googlecode.com/files/redis-2.6.10.tar.gz
######################################################################## 100.0%
==> make -C /private/tmp/redis-e09G/redis-2.6.10/src CC=cc
==> Caveats
To have launchd start redis at login:
ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
Then to load redis now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
Or, if you don't want/need launchctl, you can just run:
redis-server /usr/local/etc/redis.conf
==> Summary
/usr/local/Cellar/redis/2.6.10: 9 files, 748K, built in 9 seconds
起動
redis-server /usr/local/etc/redis.conf
接続
redis-cli
確認
redis 127.0.0.1:6379> set key val
OK
redis 127.0.0.1:6379> get key
"val"
GUIクライアント