Homebrew is one of the nifty command line tools available in Mac OS for quickly and seamlessly installing and configuring development tools.
So let's get a redis server up and running locally in 4 simple steps!
$ brew install redisThere will be some info about caveats regarding configuration. You can read and leave it for now.
With this simple command, redis is installed on your mac.
Location of Redis configuration file.
$ brew info redis
$ ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
$ redis-server /usr/local/etc/redis.conf
$ launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
$ brew uninstall redis
$ rm ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
$ redis-cli ping
If it replies PONG , then you are good to go!