Connect with valkey-cli

To connect to the Valkey database, you will need to install the valkey-cli client.

Execute the following command from a terminal window:

valkey-cli -u VALKEY_URI

To check the connection is working, execute the following command returning all Redis parameters:

INFO

You can also list the keys using the command:

KEYS *