Install Redis on Windows
Redis is an in-memory data structure project that implements a potentially scalable distributed, in-memory key value repository. Below are 3 options available in market to install different Redis Client/Server.
- Command Line Interface(CLI) utility (Client/Server)
- Redis Desktop Manager (GUI-Only Client)
- RDB Tool (GUI - Client/Server)
-
Command Line Interface(CLI) utility
This is an open source utility. Redis-cli is the Redis command line interface, a simple program that allows you to send commands directly from the terminal to Redis and read the server's replies. It provides cli utility for redis server and for client.Steps to Install
- Go to Redis Github Page and download redis zip.
- Extract the downloaded zip folder.
- Open the command prompt window, where the downloaded contents are unzipped, and use
the
redis-server.exe --maxheap 1024M
command to start Redis Server. - Now open new command prompt window again from the same location and use
redis-cli.exe
command to start Redis Client and usemonitor
command to monitor. It can help in understanding what is happening to the database. - For example, i have added some data into redis by using Spring Boot+Redis Session Management example.
-
Redis Desktop Manager
This is licenced commercial product, however you can register and install it's Free Trail Version. Version 0.9.3 is the last public free binary made available before the subscription requirement. For more information, you can visit redisdesktop.com/.Steps to Install
- Go to redisdesktop installation home page and click on Download.
- Click on Free Trail
- Provide email id and other details, it will navigate to page as given below with executable file and activation end date with other details. Download redis desktop manager on your Windows.
- Double click on downloaded executable file and follow steps as given in below screenshots.
- Now open installed redis desktop manager and click on Connect to Redis Server, and provide any Name that want to provide, provide host that your application using and port.
- For example, i have added some data into redis by using Spring Boot+Redis Session Management example.
NOTE:As this is only Redis client gui, and it will not start Redis server. You have to start Redis server by using above cli redis sever or by using rdbtool start server. -
RDBTool
This is licenced commercial product, however you can register and install it's Free Trail Version. RDBTools is a cross-platform GUI with a focus on memory usage reduction and enhancement of application performance. For more information, you can visit rdbtools.com/.Steps to Install
- Go to rdbtool installation home page and download rdbtools executable file
- Now double click on download rdbtool and follow below steps
- Click on Next
- Click on Install and Finish
- Click on installed rdbtool from Windows, it will ask for email details to provide activation email with Licence Key
- Enter Licence Key received in the email provided by you.
- Click on RDBtool, it will show pop-up, clcik on Start Server it'll open the rdbtool on http://127.0.0.1:8001/
- Click on Add Instance, provide any Instance Name and provide host and port that your application is using, and done you can see the data that you added in the redis by your application.
- For example, i have added some data into redis by using Spring Boot+Redis Session Management example.