I am trying to install Redis on my windows Server 2012 R2. The problem is that all the installation guides that I have found are out-of-date.
Can anyone show me the easiest and most recent way to install Redis on Windows?
thanks.
Redis is not officially supported on Windows. However, you can install Redis on Windows for development by following the instructions below. To install Redis on Windows, you'll first need to enable WSL2 (Windows Subsystem for Linux). WSL2 lets you run Linux binaries natively on Windows.
As told earlier, Redis is not available on windows but Microsoft makes it available for the Windows users. Go to https://github.com/microsoftarchive/redis/releases to Download .
Redis can be installed on any server. In this case we'll install it locally for testing. to make Redis start automatically, and re-start when the computer reboots. and Redis will automatically be up and running.
To start Redis client, open the terminal and type the command redis-cli. This will connect to your local server and now you can run any command. In the above example, we connect to Redis server running on the local machine and execute a command PING, that checks whether the server is running or not.
I used this guide for my setup, hopefully will work for you to
https://github.com/ServiceStack/redis-windows#running-microsofts-native-port-of-redis
here is the quick start from powershell:
install the Chocolatey package manager:
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
use chocolatey to install redis
choco install -y redis-64
redis-server
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With