Download a stable release of redis
curl -O http://download.redis.io/redis-stable.tar.gz
Untar redis
tar xvzf redis-stable.tar.gz
Change into the redis-stable directory
cd redis-stable
Compile redis
make
Ensure the build has worked correctly
make test
Add this to your PATH
/usr/local/bin/
Copy over redis-server to the correct place
sudo cp src/redis-server /usr/local/bin/
Copy over redis-cli to the correct place
sudo cp src/redis-cli /usr/local/bin/
Bring up the server
redis-server
Talk to redis (new tab)
redis-cli
127.0.0.1:6379 > ping
PONG
rm -rf /usr/local/bin/redis-server
rm -rf /usr/local/bin/redis-cli