Redis 8 · Keys and strings

Set a value

Store a string value under a key, replacing any existing value.

SET greeting "hello"

Official Redis 8 documentation

More keys and strings commands

All keys and strings commands · Redis 8 cheatsheet

Was this page helpful?