Install Redis CLI on Amazon Linux 2

Apr 21, 2022 · 1 min read · Post a comment
Install Redis CLI on Amazon Linux 2

Redis-CLI is a useful Terminal program that allows you to execute Redis commands, either on your local Redis or some remote Redis endpoint. Here I’m gonna show you how to install redis-cli on Amazon Linux 2.


  • Amazon Linux 2
  • sudo access

Install Redis CLI on Amazon Linux 2

Step 1. Enable the EPEL repo.

sudo amazon-linux-extras install epel

Step 2. Update the system packages.

sudo yum update

Step 3. Install Redis together with redis-cli.

sudo yum install redis

Step 4. To verify the installation and version, run:

redis-cli --version

Example output:

redis-cli 3.2.12


Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.