Skip to main content

How to install redis-cli only

Posted on May 2, 2022


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/