Install
Instructions on how to install Redis on Windows and Mac
Mac
Install Redis via Brew.
Need to install brew? Learn more
Turn on your Redis server.
Open a new terminal to enter the Redis-cli.
Execute a simple Redis command to verify your Redis server is running and available.
CONGRATULATIONS! You've successfully installed and set up a Redis server.
Windows
Redis doesn't play nice with windows. You will want to install Windows Subsystem for Linux (wsl) for the best experience. Please follow the steps below to get WSL, Ubuntu, and Redis installed on your system.
If you don't want to bother using wsl, you can use the following redis msi. I would highly recommend using wsl though as it is very easy to setup.
Most of this information come from the microsoft docs. I took out the steps on how to update wsl to wsl2 as it requires the user to get into their bios settings. If you would like to use wsl2 you can follow the Microsoft docs instead. Learn More
Step 1 - Enable the Windows Subsystem for Linux
Open PowerShell as Administrator and run:
RESTART YOUR COMPUTER AFTER THE INSTALL IS DONE.
Step 2- Install your Linux distribution of choice
Open the Microsoft Store and search for Ubuntu.
From the Ubuntu page, select "Get".
You might get asked to install, go ahead and click install if it asks.
You will need to click launch after it downloads and installs.
The first time you launch a newly installed Linux distribution, a console window will open and you'll be asked to wait for a minute or two for files to de-compress and be stored on your PC. All future launches should take less than a second.
Step 3 - Create a user account and password
When you type your password, you won't see any text but it is typing. Luckily they have a verified password to make sure you typed it correctly.
Step 4 - Setup and test Redis
Run the following commands in your new ubuntu terminal.
First, make sure to get all the latest updates, upgrade, and install the Redis-server. Then check what version was installed.
Restart the Redis server to make sure it is running.
Execute a simple Redis command to verify your Redis server is running and available.
Stopping your Redis server.
CONGRATULATIONS! You've successfully installed and set up a Linux distribution with a Redis server that is completely integrated with your Windows operating system!
Last updated