Installation Redis On Windows 10

Nowadays, Redis is the most popular in-memory database which supports hashes, lists, sets, sorted sets etc. You can find more details in official Redis documentation. [1]

A few days ago, I wanted to install the Redis to my Windows 10 computer. But I was shocked when I saw the phrase on the Redis Documentation below:

“The Redis project does not officially support Windows. However, the Microsoft Open Tech group develops and maintains this Windows port targeting Win64.”

Then, I found the following solution of installing the Redis. Let’s go on with installation.

Setup Bash On Ubuntu On Windows

Microsoft announced Bash on Ubuntu on its 10th Anniversary Update. Thanks to this update, you can use bash commands on Windows such as grep, sed, awk etc.

Before starting to Redis installation, you should ensure that Bash on Ubuntu on Windows application is installed successfully. If it is not, you can follow the official installation documentation from Microsoft. [2]

Redis Installation

Before starting the installation, we need to install some packages required.

$ sudo apt-get install build-essential
$ sudo apt-get install tcl8.5

Now, let’s start to install. First, we download the latest source code of Redis.

$ wget

Then, extract the downloaded files and enter into the folder.

$ tar xzf redis-4.0.2.tar.gz
$ cd redis-4.0.2

After that, we need to compile Redis source.

$ sudo make distclean
$ sudo make –j

If make process is completed successfully, we can proceed to the next step.

If you want to test the compiled files, you can use the command below.

$ sudo make test -j

Now, we can copy the complied Redis binaries under /usr/local/bin/ and install a new Redis server by following the instructions.

$ sudo make install -j

$ cd utils
$ sudo ./

Here, we have completed the Redis installation on Windows 10.

You can start, stop or restart the Redis server configured by defaults.

$ sudo service redis_6379 start
$ sudo service redis_6379 stop
$ sudo service redis_6379 restart

You can also use Redis CLI with the following commands.

$ redis-cli
> redis>

If you want to start the Redis server when Windows starts up, you can use the command below.

$ sudo update-rc.d redis_6379 defaults


We have installed Redis on Windows, but please note that this method is not completely trustworthy.

Like what you read? Give Furkan Pur a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.