You can use redis-cli to connect to an ApsaraDB for Redis instance.

For more information, see Use redis-cli.