Install Redis on Windows.

Author
By Darío Rivera
Posted On in Redis

Although we haven't talked about Redis before on this blog, I must assume that you come here knowing what Redis is and with the willingness to install it on Windows. Redis doesn't officially support Windows, so we need to rely on the packages from the Microsoft Open Tech Group on GitHub, in the Redis repository.

The first thing you need to do is download the ZIP file of the latest available version, which in this case will be 3.2.100. After that, you should place the resulting uncompressed folder somewhere of your preference, I have placed it directly on the C drive.

The next step will be adding the path of the redis folder to the system PATH variable, in this case my folder is C:\Redis-x64-3.2.100. As simple as that! The only thing left to do is to open a terminal and run the command to start the redis server and you'll get an output similar to the following:

$ redis-server
[10140] 20 Jun 18:31:00.387 # Warning: no config file specified, using the default config. In order to specify a config file use C:\Re
dis-x64-3.2.100\redis-server.exe /path/to/redis.conf
                _._
           _.-``__ ''-._
      _.-``    `.  `_.  ''-._           Redis 3.2.100 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 10140
  `-._    `-._  `-./  _.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |           http://redis.io
  `-._    `-._`-.__.-'_.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |
  `-._    `-._`-.__.-'_.-'    _.-'
      `-._    `-.__.-'    _.-'
          `-._        _.-'
              `-.__.-'

[10140] 20 Jun 18:31:00.390 # Server started, Redis version 3.2.100
[10140] 20 Jun 18:31:00.390 * The server is now ready to accept connections on port 6379

I hope this post has been useful for you. See you soon!


Acerca de Darío Rivera

Author

Application Architect at Elentra Corp . Quality developer and passionate learner with 10+ years of experience in web technologies. Creator of EasyHttp , an standard way to consume HTTP Clients.

LinkedIn Twitter Instagram

Sólo aquellos que han alcanzado el éxito saben que siempre estuvo a un paso del momento en que pensaron renunciar.