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 going to show you how to install Redis CLI on Amazon Linux 2.
Prerequisites
- Amazon Linux 2
- sudo privileges
Install Redis CLI on Amazon Linux 2
Step 1. Enable the EPEL repo.
sudo amazon-linux-extras install epel
Step 2. Update 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
Output:
redis-cli 3.2.12
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.