Installing Redis on Windows
Microsoft Open Tech group has ported Redis and maintains it for win32/win64 machines. There are two ways in which we can get started with installing Redis on Windows, and these are listed as follows:
- Working with prebuilt binaries
- Getting the code and compiling it in the Microsoft environment
For the impatient, downloading the binaries of Redis 2.8 is an easier option. First things first, we need to do the following in order to get started:
- Go to https://github.com/MSOpenTech/redis and download the ZIP file under the Clone in Desktop button. For this book, we are going to download the latest version of Redis, that is, the
redis-2.8.zip
file. - Right-click on the link and save it in a suitable location on your Windows machine. I have saved it at
F:\sw2\redis\redis-2.8.zip
. - Right-click and unzip the compressed file to a suitable folder. I have named the folder as
redis-2.8
, and the folder structure after unzipping looks similar to what is shown in the following screenshot...