How to Install Redis on Windows 10?

How to Install Redis on Windows 10?

Redis is an Open Source NoSQL database. It is very popular, capable and remarkably fast In-Memory database. It stores the data in key-value pair and no doubtfully says it is a NoSQL database.

installation on windows 10

We can Install Redis on windows 10 by using two ways. They are given below.

  • Zip file
  • MSI Installer

by using zip file

Download the latest and stable release of Redis on Windows 10 Zip file (Redis-x64-3.0.504.zip) from the official GitHub site of Microsoft archive. The Download URL has been given below.

https://github.com/MicrosoftArchive/redis/releases

After download the zip file, extract it on the anyone of the location in your machine. In my system, I have downloaded and extracted on the path “C:\softwares”.

Redis File Path after extract

Now go inside on the folder “Redis-x64-3.0.504” and find the redis-server.exe file.

Redis Server EXE file

Double click the “redis-server.exe” file, then Redis server will start to run on your machine with default port 6379.

Redis server console

It is time to start the Redis Client. You can find “redis-cli.exe” file on the same folder “Redis-x64-3.0.504”.

Redis client EXE file

Double click the “redis-cli.exe” file, then Redis client will start to run on your machine to execute the Redis commands.

Redis client console

Execute the following command on the Redis client console to check the connection between Redis server and client.

PING

The console will display PONG after execute the PING command on the Redis client console.

PING and PONG

Execute the following commands to store and retrieve a new Key Pair data on the Redis server by using Redis client.

set employee John

get employee
set and get command to store the data in Redis server

by using msi installer

Download the latest and stable release of Redis on Windows 10 (Redis-x64-3.0.504.msi) MSI Installer file from the below link.

https://github.com/MicrosoftArchive/redis/releases

I have downloaded the installer file and saved into the “C:\softwares” path on my machine. You can download it into the anyone of the location on your drive.

Redis installer file

After download the installer file, double click on it and start install the Redis on Windows 10 machine.

Welcome screen of Redis Windows setup.

Welcome screen of Redis Windows setup.

Click “Next” button on the welcome screen, Accept the License agreement and click “Next” button on the installation wizard.

License Agreement wizard

Click on the check box “Add the Redis Installation folder to the PATH environment variable” on the Destination folder wizard. And then click “Next” button on this screen.

Destination folder wizard

Click “Next” on the Port number and firewall exception wizard with the default port number. If you want to change port number of Redis server, then you can change it on this wizard.

Port number and Firewall exception

Click “Next” on the Memory Limit wizard. The default Memory limit is 100 MB. If you want to set the Max Memory limit, then you can change it on this wizard.

Memory Limit

Click “Install” button on the Install Redis on Windows wizard.

Redis Installation wizard

Installation is In-Progress.

Installation In-Progress window

Click “Finish” on the Redis Installation completed wizard.

Redis Installation completed wizard

After the installation completed, Redis server will be started automatically on the Windows 10 machine. You can see the Redis server status on the “Services” screen. If the Redis service is not started automatically, you can start it manually here.

Services

Now go to the Redis installation folder and double click the “redis-cli.exe” file. I have installed the Redis on the “C:\Program Files\Redis” path.

Redis installation folder

Then Redis client will start to run on your machine to execute the Redis commands.

Redis client console

Execute the following command on the Redis client console to check the connection between Redis server and client.

PING

The console will display PONG after execute the PING command on the Redis client console.

PING and PONG

Execute the following commands to store and retrieve a new Key Pair data on the Redis server by using Redis client.

set employee John

get employee
set and get command to store the data in Redis server

Redis has been installed successfully on the Windows 10 machine by using ZIP and MSI installer.

How useful was this post?

Click on a star to rate it!

As you found this post useful...

Follow us on social media!

Advertisements

Post your comments