How to download redis for Windows

By FoxLearn 10/29/2024 7:13:49 AM   14
To download and install Redis on Windows, you can follow these steps.

The official Redis does not support Windows natively, but you can use a Windows-compatible version.

Download Redis for Windows

download redis for windows

Redis 5.0.14.1 for Windows:

Redis-x64-5.0.14.1.msi

Redis-x64-5.0.14.1.zip

You can download the latest release as either an .msi installation file or a .zip file.

install redis

Here I download the .msi file to install. During the installation process it will allow us to customize some parameters as desired.

install redis windows

Click Next

install redis windows

Select "I accept the terms in the License Agreement", then click Next

install redis windows

Select "Add the redis installation folder to the PATH envirnoment variable", then click Next

install redis windows

Click Next

install redis windows

Click Next

install redis windows

Click Install

install redis windows

Wait for installation to complete

install redis windows

Click Finish

How to run Redis-server on Windows?

Start the Redis server by executing the following command in the Command Prompt.

redis-server

redis server

This will start the Redis server, and you should see output indicating that it’s running.

Next, Run

redis-cli

This opens the Redis command-line interface, allowing you to interact with your Redis server.

You can test your installation by running commands in the Redis CLI, like

set name lucy

Save the text string lucy into the name variable.

get name

Get the value in the name variable.