Redis  is an open-source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. You can find Redis CLI being used most of the time, If you are in need of a GUI for Redis then this guide is for you. A simple Visual Studio Code extension.

Prerequisite

Download and Install VS Code
Guide on how to install VS Code Extension

Steps

A step by step guide for installing and using Redis VS code extension

1, Install this extension redis explorer by Xuan Zheng in VS Code.

Note: There are several similar extensions, cross-check name, and author of extension as in screenshot and install, since some similar extensions are not working.

Installing Redis Explorer extension



2. Once installed, the extension will appear in the left panel. Click on Redis explorer icon and add new connection.

Adding a connection for Redis

3. Give a friendly name any suitable name for identification and hit enter.

Entering a friendly name

4. Next, fill in the Redis server address without port no. If it doesn’t works give with port no. and hit enter

Eg: my-redis.redis.cache.windows.net

Entering credentials for redis


5. Next, enter the password for Redis, if your Redis instance doesn’t have authentication then skip this by using the escape key else enter the password and hit enter.

That’s it. Installation setup is completed

Now click on the Redis name which you have created, It will load all keys stored in Redis. You can click on any key to load its value. You can add/edit/delete Keys also

Viewing a redis key value


Note:
On clicking key name if you face this issue as in the screenshot below. Then workaround is just open any folder and try again.

Fixing error while opening Redis Key


If you are using Azure Redis then there is an extension for Azure Redis by Microsoft


Conclusion
By following simple steps you can get GUI for exploring Redis




Last modified: November 6, 2020

Author

Comments

Write a Reply or Comment

Your email address will not be published.