You can install Redis on Windows 10 using Windows Subsystem for Linux(a.k.a WSL2). WSL2 is a compatibility layer for running Linux binary executables natively on Windows 10 and Windows Server 2019. WSL2 lets developers run a GNU/Linux environment(that includes command-line tools, utilities, and applications) directly on Windows.
Follow the below steps to create Redis database on Microsoft Windows 10.
In Windows 10, Microsoft replaces Command Prompt with PowerShell as the default shell. Open PowerShell as Administrator and run this command to enable Windows Subsystem for Linux (WSL):
Reboot Windows after making the change—note that you only need to do this one time.
The following example works with Ubuntu (you’ll need to wait for initialization and create a login upon first use):
Please note: By default, Redis has 0-15 indexes for databases, you can change that number databases NUMBER in redis.conf.
Check out this video if you want to see Redis on Windows 10 Home Edition in action.