Connect to Redis
Learn how to use user interfaces and client libraries
You can connect to Redis in the following ways:
- With the
redis-clicommand line tool
- Use RedisInsight as a graphical user interface
- Via a client library for your programming language
Redis command line interface
The Redis command line interface (also known as
redis-cli) is a terminal program that sends commands to and reads replies from the Redis server. It has the following two main modes:
- An interactive Read Eval Print Loop (REPL) mode where the user types Redis commands and receives replies.
- A command mode where
redis-cliis executed with additional arguments, and the reply is printed to the standard output.
RedisInsight combines a graphical user interface with Redis CLI to let you work with any Redis deployment. You can visually browse and interact with data, take advantage of diagnostic tools, learn by example, and much more. Best of all, RedisInsight is free.
It's easy to connect your application to a Redis database. The official client libraries cover the following languages:
You can find a complete list of all client libraries, including the community-maintained ones, on the clients page.