Install Redis on Windows using WSL

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/

Install Kali Linux in the Windows using WSL

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Once rebooted, open the Windows App store and search for the “Kali Linux” application, or alternatively click here to go there directly. Install the app and enjoy Kali!

Install Kali Linux Metapackages

sudo apt update
sudo apt full-upgrade -y
sudo apt install -y kali-linux-default

Install Win-KeX

Win-KeX provides a Kali Desktop Experience for Windows Subsystem for Linux (WSL 2)

sudo apt update
sudo apt install -y kali-win-kex

To start Win-KeX in Window mode with sound support, run

kex --win -s

To start Win-KeX in Enhanced Session Mode with sound support and arm workaround, run

kex --esm --ip -s

To start Win-KeX in Seamless mode with sound support, run

kex --sl -s

Optional Steps

If you have the space, why not install “Kali with the lot”?

sudo apt install -y kali-linux-large

References
https://www.kali.org/blog/kali-linux-in-the-windows-app-store/
https://www.kali.org/docs/general-use/metapackages/
https://www.kali.org/docs/wsl/win-kex/