Redis

Manage Redis databases via the redis-cli tool.

olasunkanmi-se 447bc6c 2 files · 1.4 KB Updated

File contents

redis-cli

Use redis-cli to interact with Redis instances.

Common Commands

Connection

  • Connect: redis-cli -h <host> -p <port> -a <password>

Operations

  • Set key: SET key value
  • Get key: GET key
  • List keys: KEYS pattern
  • Delete key: DEL key
  • Check info: INFO
  • Quit: exit

Notes

  • Requires redis-cli to be installed in the environment.

olasunkanmi-se/codebuddy/tree/main/skills/redis commit 447bc6c980

Frequently asked questions

npx skillmds@latest add olasunkanmi-se/redis