notes/db/nosql/redis/client/redis-cli.txt
Ihar Hancharenka 979d3af02f m
2024-06-25 22:37:03 +03:00

30 строки
833 B
Plaintext

https://redis.io/docs/latest/develop/connect/cli/
apt/redist-tools
dnf/redis
https://lightrun.com/using-the-redis-command-line/
https://cloud.google.com/memorystore/docs/redis/connect-redis-instance
2024
https://www.baeldung.com/linux/redis-client-alone-installation
docker run -it --rm redis:latest-alpine redis-cli -h localhost -p 6379
redis-cli -h localhost -p 6379
auth <pwd>
127.0.0.1:6379> ?
redis-cli 6.0.16
To get help about Redis commands type:
"help @<group>" to get a list of commands in <group>
"help <command>" for help on <command>
"help <tab>" to get a list of possible help topics
"quit" to exit
To set redis-cli preferences:
":set hints" enable online hints
":set nohints" disable online hints
Set your preferences in ~/.redisclirc
redis-cli
-h <redis-host>