Turn on Windows Subsystem for Linux
Open PowerShell as Administrator and run this command to enable Windows Subsystem for Linux (WSL):
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Launch Microsoft Windows Store and then search for Ubuntu, or your preferred distribution of Linux, and download the latest version.
Install Redis server
sudo apt-add-repository ppa:redislabs/redis sudo apt-get update sudo apt-get upgrade sudo apt-get install redis-server
Restart the Redis server
sudo service redis-server restart
Verify if your Redis server is running
$ redis-cli 127.0.0.1:6379> set user:1 "Jane" 127.0.0.1:6379> get user:1 "Jane"
Stop the Redis Server
sudo service redis-server stop
References
https://developer.redis.com/create/windows/
https://redis.io/docs/install/install-redis/install-redis-on-windows/