Redis runs natively on Linux-based operating systems but can be installed and run on Windows 10/11 using Windows Subsystem for Linux (WSL). In this blog, we will guide you through the steps to install Redis on Windows using WSL.
What is Redis?
Redis full form is Remote Directory Server. Redis is a popular NO-SQL in-memory data structure store that is often used as a database, cache, and message broker.
It is widely used by developers and system administrators to improve the performance and scalability of their applications.
What is WSL?
WSL (Windows Subsystem for Linux) is a compatibility layer for running Linux binary executables natively on Windows.
It provides a lightweight Linux environment that runs on top of the Windows operating system, enabling users to run Linux command-line tools and applications directly on Windows without the need for a virtual machine or dual-boot setup.
Install Redis on Windows 10/11 Using WSL
Now when we have a brief idea of what Redis and WSL is, let’s see how we can install Redis on windows using WSL.
Step 1: Turn on Windows Subsystem for Linux
Before we can install Redis on Windows, we need to enable the Windows Subsystem for Linux (WSL).
WSL is a compatibility layer that enables running Linux binary executables natively on Windows 11 and Windows Server 2019.
Open PowerShell as Administrator and run the following command to enable WSL:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
After running this command, you need to reboot your system. Note that this step only needs to be done once.
Read more on How to install Redis on Windows 10.
Find Blog on Google. Install Redis Windows.
Top comments (3)
That repository is for 2016, You can know add Microsoft-Windows-Subsystem-Linux to PowerShell and then install redis.
more details:
redislabs.com/blog/redis-on-window...
There is also an up-to-date native port of Redis to Windows called Memurai (memurai.com). It's closed source and the developer edition is free. It's a very convenient option and is fully Redis compatible.
Disclosure: I work at Memurai.
You can install Redis on Windows 10 using Windows Subsystem for Linux(a.k.a WSL2).Do check out tutorial under developer.redislabs.com/create/win...