Redis CLI is a part of the official Alpine apk packages, so it’s quick and easy to set it up. Here I’m going to show you how to install Redis CLI on Alpine Linux.
Prerequisites
- Alpine Linux
- sudo privileges
Install Redis CLI on Alpine Linux
Step 1. Update packages.
sudo apk update
Step 2. Install Redis.
sudo apk add redis
Step 3. Verify installation.
redis-cli -v
Output:
redis-cli 7.0.4 (git:e692d8f0)
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.