How to Run Redis on Windows 10

Redis WindowsLeave a Comment on How to Run Redis on Windows 10

How to Run Redis on Windows 10

When the audience of our application is increasing rapidly, it requires more requests to the database. But each request to the database needs a sufficient amount of time. Sometimes we also need to pay more for the requests to the database. So we need to decrease the request to the database in possible situations. Redis is the solution for this.

What is Redis?

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports various data structures such as Strings, Hashes, Lists, Sets, etc.

In simple words, we can store the data from our database in our backend storage as cache. Afterward, this data is served to our front-end for the same API request through a specific amount of time period.

Redis is made using C programing language and it uses NoSQL structure to store data which makes it more popular nowadays.

Currently, tech giants like GitHub, Weibo, Pinterest, Snapchat, Craigslist, Digg, StackOverflow, Flickr, etc. are using Redis. So we can trust Redis in using within our application.

Is Redis Compatible with Windows 10?

Redis is made for work with servers and is not compatible with Windows systems because Windows servers are not using widely.

But if we are developing an application using Redis on a Windows system, Running Redis in our system is necessary.

So here in this tutorial, we are going to explain the steps in running Redis on a Windows 10 system.


Install Ubuntu on Windows 10

1. Open Store

First, open our Windows Store by searching “store” in the left-bottom Windows 10 search box.

2. Install Ubuntu

In the top right search box, search for Ubuntu and click on the latest version(18.04 LTS) from the suggestions and Get the app.

3. Launch Ubuntu

So the Ubuntu is installed on our Windows system and now we need to launch it from the Windows search box.

We get an Ubuntu terminal and this terminal is used to set up Redis.

Install Redis on Ubuntu

So we have set up an Ubuntu server inside our Windows operating system. Now we can install Redis on this Ubuntu system by following the below steps.

1. Download Redis

First, we need to download the stable version Redis from the official website. This can be done with the below command.


2. Extract and Make

Now extract the file we have downloaded and make.

tar xvzf redis-stable.tar.gz
cd redis-stable

3. Start Redis

After installation, we can start the Redis server using the below command.


Have a nice code !

Hi, I'm Syamlal, the co-founder of Redmonark. I'm a developer, writer and also have a little bit of experience in graphic designing.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back To Top
%d bloggers like this: