redis-cli er kommandolinjegrænsefladen for Redis — brugt til at oprette forbindelse til en Redis-server og køre kommandoer interaktivt. Det er essentielt til udvikling, debugging, inspektion af data og administration.
Tilslutning
redis-cli # connect to localhost:6379 (default)
redis-cli -h host -p 6379 # connect to a specific host/port
redis-cli -a password # with authentication
redis-cli -n 2 # select database number 2
