Connect with redis-cli
This example demonstrates how to connect to Dragonfly® using
redis-cli, which supports nearly all the same commands as it does for
Redis®. For more information, see Dragonfly
CLI.
Variables
Replace the following placeholders in the code sample with the appropriate values:
| Variable | Description |
|---|---|
DRAGONFLY_URI | URL for the Dragonfly connection |
Prerequisites
Ensure the following before proceeding:
- The
redis-cliclient installed. This can be installed as part of the Redis®* server installation or as a standalone client. Refer to the Redis Installation Guide for more information.