Redis - Environment

In this chapter, you will learn about the environmental setup for Redis.

Install Redis on Ubuntu

To install Redis on Ubuntu, go to the terminal and type the following commands −

$sudo apt-get update 
$sudo apt-get install redis-server

This will install Redis on your machine.

Start Redis


Check If Redis is Working


This will open a redis prompt.


In the above prompt, is your machine's IP address and 6379 is the port on which Redis server is running. Now type the following PING command.

redis> ping 

This shows that Redis is successfully installed on your machine.

Install Redis Desktop Manager on Ubuntu

To install Redis desktop manager on Ubuntu, just download the package from

Open the downloaded package and install it.

Redis desktop manager will give you UI to manage your Redis keys and data.