What's New in RedisInsight 2.0 Preview Release?
Published: 2022-02-16 09:09:12

![Image1](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tgi2brwxn3bvqgrtvtwb.png)
 

RedisInsight is a visual tool that lets you do both GUI- and CLI-based interactions with your Redis database, and so much more when developing your Redis based application. It is a fully-featured pure Desktop GUI client that provides capabilities to design, develop and optimize your Redis application. It works with any cloud provider as long as you run it on a host with network access to your cloud-based Redis server. It makes it easy to discover cloud databases and configure connection details with a single click. It allows you to automatically add Redis Enterprise Software and Redis Enterprise Cloud databases.

## What's New in RedisInsight v2.0?

RedisInsight v2.0 is a complete product rewrite based on a new tech stack comprising of [Electron](https://www.electronjs.org/), [Elastic UI](https://elastic.github.io/eui/#/), [Monaco Editor](https://microsoft.github.io/monaco-editor/) and [NodeJS](https://nodejs.org). This version contains a number of must-have and most-used capabilities from previous releases, plus a number of differentiators and delighters. You can run the application locally along with your favorite IDE, and it remains cross-platform, supported on Linux, Windows, and MacOS.

<div class="text--center">
<iframe width="760" height="315" src="https://www.youtube.com/embed/ppYSS6opUiQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>


Starting with RedisInsight v2.0 release, the code is open source and publicly available over on [GitHub](https://github.com/redisinsight/redisinsight). Below are the list of new features introduced with this latest release:

- Workbench - An advanced command line interface with intelligent command auto-complete and complex data visualizations
- Ability to write and render your own data visualizations within Workbench
- Built-in click-through Redis Guides available
- Support for Light and Dark themes
- Enhanced user experience with Browser


## Getting Started 


### Using MacOS

### Step 1. Download RedisInsight

To use RedisInsight on a local Mac, you can download the software directly from the Redis official website:

[Click this link](https://redis.com/redis-enterprise/redis-insight/#insight-form) to access a form that allows you to select the operating system of your choice.


![Image2](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/unt0tvdkab9bcwavgz7o.png)
 

Fill out the rest of the form and click “Download.” Please note that the package name is the combination of the platform and version as shown here: redisinsight-preview-platform-version

### Step 2. Install RedisInsight

Click on the RedisInsight executable and install it in your system.

![Image3](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dbxjlxmes8a8pv68wxoo.png)
 

Once the RedisInsight software is installed, click on its icon to open the RedisInsight application. It will display the End-User License Agreement and Privacy Settings. Enable Analytics and Encrypt sensitive information as per your preference.

![Image4](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yn72u7rd1vpqiqx3uyvv.png)
 

### Step 3. Changing the Theme

RedisInsight v2.x allows you to specify the color theme of your choice. Click on "Settings" and change the appearance from "Dark Theme" to "Light Theme" as shown in the image below:

![Image5](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fjsmc897m7kanqm3v6h2.png)
 


### Step 4. Connect to a Redis Database

There are multiple ways you can connect to a Redis database - either by creating a new Redis Enterprise Cloud database or connecting to an existing database. To connect to Redis Enterprise Cloud, choose the "Create a Free on Redis Cloud" option.

![Image6](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q74u20uev3u4ctgzt31d.png)
 

Once clicked, it will redirect to [the link](https://redis.com/try-free/?utm_source=redis&utm_medium=app&utm_campaign=redisinsight) where you will need to complete the form.

![Image7](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/11xhmido22oa77w1k52e.png)
 

You can follow [this link](/create/rediscloud) to create a New Redis Enterprise Cloud database.
In case you have an existing Redis database, follow the below steps.

Assuming that you already have Redis database up and running locally, proceed to the next step to select "ADD REDIS DATABASE"


### Step 5. Add Redis database

Enter the requested details, including Host (endpoint), Port, and Alias in the form, as shown below. You can skip username for now. Then click “ADD REDIS DATABASE”:

![Image8](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t7ndid9fm6t514abb3i2.png)
 

Once added, you will see the database added as shown below:

![Image9](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h87b0jqptbni081npr4l.png)
 


### Step 6. Adding a New Key

Select the "Key" icon on the left sidebar of RedisInsight UI and click "+Key" to add a new key.

![Image10](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7xkcot84juosl659iepr.png)
 

Once added, the dashboard UI shows the hash key details.

![Image11](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y7aphp889mom543gxsxd.png)
 

### Step 7. Accessing the Workbench

With the new RedisInsight v2.0, a Workbench has been introduced. Workbench is basically an advanced command-line interface that lets you run commands against your Redis server. Workbench editor allows comments, multi-line formatting and multi-command execution. It is an Intelligent Redis command auto-complete and syntax highlighting with support for RediSearch, RedisJSON, RedisGraph, RedisTimeSeries, RedisGears, RedisAI, RedisBloom. It allows rendering custom data visualization per Redis command using externally developed plugins.

You can locate the workbench on the left sidebar of RedisInsight dashboard UI. It displays a built-in click-through guides for Redis capabilities. You can also see a number of metrics always on display within the database workspace. These metrics get updated every 5 seconds. The metrics include CPU, number of keys, commands/sec, network input, network output, total memory, number of connected clients.


![Image12](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8hj5te9okm7w0msgho0z.png)
 

Check out the reference section to learn more about the new RedisInsight v2.0 features.


### Step 8. Accessing the CLI

The new RedisInsight v2.0 comes with a command-line interface with enhanced type-ahead command help. It includes an embedded command helper where you can filter and search for Redis commands. Click on "CLI" option to open CLI window:

![Image13](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fop1dnt2exc2xvcscikl.png)
 


[Click Here to read the complete blog] (https://developer.redis.com/explore/redisinsightv2/getting-started)

### References

- [RedisInsight v2.0 Release Blog](https://redis.com/blog/introducing-redisinsight-2/)
- [RedisInsight v2.0 Release Notes](https://docs.redis.com/latest/ri/release-notes/v2.0.2/)
- [RedisInsight GitHub Repository](https://github.com/redisinsight/redisinsight)

Have queries? Reach out to me over [Twitter](https://twitter.com/ajeetsraina)