install redis on windows
let install redis on windows

Hi Guys, Welcome to Proto Coders Point. This Article is on how to download and install redis on windows, I found out redis windows installer a .msi file by which, in just one click “install redis”.

Video Guide

https://youtu.be/4ePdm4AyL0s

Install Windows SSH client PowerShe...
Install Windows SSH client PowerShell
What is Redis

Redis stands for “Remote Directory Server”, It’s an open source & fastest in-memory data storage CLI + Server, basically we can store data in redis in key-value pair, and is used by many developers to manage database, cache message broker & streaming engine.

When should we use Redis

Most of the time redis is used as an caching layer, As it’s an in-memory DB, That means, It keep the given data in-memory & is much faster if compared with MYSQL or NOSQL (Mongodb) query executions.

Redis can’t be used to store large data then 1/3 of RAM size, So it’s better not to use it to store huge data collections.

Can data Stored in Redis get lost

Yes, Data stored in Redis can get deleted but only when server instance is rebooted or terminated and in local PC if you shutdown you system.

Learn more about Redis on Official site


How to Install Redis on Windows

Below are the steps to install redis.

Step 1: Download redis .msi installer file

Offically, Redis not provide any direct installer file to install it on windows operating system but Microsoft has build a installer version of redis by which windows users can easily install redis on windows with just one click.

From above download link download .msi file.

redis windows installer

Step 2: Install redis using .msi installer

Start the installer by click on Redis-x64-3.0.504.msi

Don’t Forget to check tick box “add Redis installation foler to PATH envirnoment variable”
By Default, Redis run on port number 6379, Can it if you need some other port number for redis to run
Increase Redit max memory storage capacity, default is 100 MB.
Therefore, Redis is been successfully installed on Windows operating system.

Step 3: Start using Redis using CMD

On Windows, When you start your system, redis-server.exe will automatically get started and will be running in background.

To get connected to redis server and store some data in it, you can make use of redis-cli.

Just open CMD prompt and type “redis-cli”.

Here is a small example: storing data is redis memory by using set and get command.

Hope, This easiest method to install redis on win10 successfully worked for you.