How to install redis-cli only
One way to install redis-cli
without having to install redis-server
is to compile it yourself.
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make redis-cli
sudo cp src/redis-cli /usr/local/bin/