redis-cli
Open a connection to a Redis server. tldr-pages
On several platforms
Several platforms
Connect to the local server
redis-cliIdentifyConnect to a remote server on the default port (6379)
redis-cli -h hostIdentifyConnect to a remote server specifying a port number
redis-cli -h host -p portIdentifyConnect to a remote server specifying a URI
redis-cli -u uriIdentifySpecify a password
redis-cli -a passwordIdentifyExecute Redis command
redis-cli redis_commandIdentifyConnect to the local cluster
redis-cli -cIdentify