Install Redis Community Edition on Linux

How to install Redis Community Edition using Snap

Redis Community Edition

Install Redis Community Edition (CE) on Ubuntu Linux using Snap

To install Redis via snap, run the following commands:

sudo apt update
sudo apt install redis-tools # this will install `redis-cli`
sudo snap install redis

Redis will start automatically after installation and also at boot time.

Connect to Redis CE

Once Redis is running, you can test it by running redis-cli:

redis-cli

Test the connection with the ping command:

127.0.0.1:6379> PING
PONG
RATE THIS PAGE
Back to top ↑