CONFIG
CONFIG subcommand [argument ...]
- Group
- Server
- Arity
- -2 (at least 2 words, counting the command name)
- Flags
- admin, loading, stale
- HotKV Cloud
- All plans
- On-Premise
- no license needed
CONFIG is a container command for the server’s runtime configuration.
CONFIG HELP lists the subcommands.
Subcommands
Section titled “Subcommands”| Subcommand | What it does |
|---|---|
| CONFIG GET | Read settings by name or glob pattern. |
| CONFIG SET | Change one or more settings without a restart. |
| CONFIG REWRITE | Write the current settings back to the config file. |
| CONFIG RESETSTAT | Reset the counters INFO reports. |
An unknown subcommand gets ERR unknown subcommand '<name>'. Try CONFIG HELP.
Every setting, its default and whether it can change at runtime are listed in the configuration reference.
In HotKV Cloud, the CLI tab of the panel does not run CONFIG. Change the
settings the panel offers in the instance’s Configuration tab, or run
CONFIG from your own client connection.
Compatibility
Section titled “Compatibility”Same subcommands as Redis 7 and Valkey 8. Differences in what each one does are on the subcommand pages.
See also
Section titled “See also”Was this page helpful?
Thanks for the feedback.