How to install Redis on Windows Subsystem

  • First you got to have Windows Subsystem (WSL -2)
  • Enter command bash in cmd to enable ubuntu os
    • C:\Users\Tyson>bash
  • Add Repository of redislabs

First you got to have Windows Subsystem (WSL -2) – Steps to WSL-2 subsystem

Enter command bash in cmd to enable ubuntu os

Add Repository of redis lab

sudo apt-add-repository ppa:redislabs/redis

Then Update and Upgrade the repository

sudo apt-get update
sudo apt-get upgrade

Then install redis-server

sudo apt-get install redis-server

Start the redis server

redis-server

Enable Redis CLI

bash  //to open the linux window
redis-cli

Leave a Comment