![how to install redis on windows how to install redis on windows](https://i.stack.imgur.com/r5tyI.png)
#How to install redis on windows how to#
Restart the Redis server to make sure it is running: > sudo service redis-server restart sudo apt install redis-server How to install Redis on Windows.
#How to install redis on windows update#
The following example works with Ubuntu (you'll need to wait for initialization and create a login upon first use): > sudo apt-get update Launch the installed distro from your Windows Store and then install redis-server.Download and install one of the supported Linux distros from the Microsoft Store.Since this is no longer supported, it is advisable you do not use it, and instead look at Microsoft's suggested alternative, Memurai. Reboot Windows after making the change-note that you only need to do this one time. sudo apt install redis-server How to install Redis on Windows.
![how to install redis on windows how to install redis on windows](https://infylife.files.wordpress.com/2017/05/redis-on-windows.png)
Open PowerShell as Administrator and run this command to enable Windows Subsystem for Linux (WSL): Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
![how to install redis on windows how to install redis on windows](https://i.ytimg.com/vi/ncFhlv-gBXQ/maxresdefault.jpg)
The short version is: In Windows 10, Microsoft replaces Command Prompt with PowerShell as the default shell. To enable Windows Subsystem for Linux, follow the instructions on Microsoft Docs.Starting with version 10, you've got a command called " wslconfig." It lists distros you have and controls which one starts by typing "bash." Try it out! How to Set Up WSL To answer the question, " Which version of Windows is my PC is running?", press your Windows logo key + R, type " winver," then select OK. No joke! How Do I Know If I Have Windows 10 With WSL? Starting with Windows 10 (v1709 - 2017-09, Fall Creators Update ), you can run at least a half-dozen flavors of Linux on the Windows Subsystem for Linux (WSL), and you can run on top of them. Ever since Jessica Deen explained how WSL works at my SVDevOps Meetup, I've recommended Windows 10 users run Redis on their own dev machines.