Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Divyanshu Shekhar
Divyanshu Shekhar

Posted on • Edited on

     

How To Install Redis on Windows 10

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
Enter fullscreen modeExit fullscreen mode

After running this command, you need to reboot your system. Note that this step only needs to be done once.

Read more onHow to install Redis on Windows 10.
Find Blog on Google.Install Redis Windows.

Top comments(3)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
timsar2 profile image
timsar2
  • Joined

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...

CollapseExpand
 
zakgreant profile image
Zak Greant
  • Joined

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.

CollapseExpand
 
ajeetraina profile image
Ajeet Singh Raina
Developer Advocate at Docker, ex-Docker Captain, Docker Community Leader, Arm Ambassador
  • Email
  • Location
    Bangalore
  • Education
    BE in Computer Science and Engineering
  • Work
    Developer Advocate at Docker, Community Influencer
  • Joined
• Edited on• Edited

You can install Redis on Windows 10 using Windows Subsystem for Linux(a.k.a WSL2).Do check out tutorial underdeveloper.redislabs.com/create/win...

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Developer | Blogger
  • Joined

More fromDivyanshu Shekhar

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp