To check the version of KeyDB, you can use the
keydb-server command-line tool with the
--version option. Simply run the following command:
This will output the version of KeyDB that is currently installed on your system. For instance, if you have version 6.0.16 installed, the output would be:
KeyDB version 6.0.16 (Git:unknown/unknown)
keydb-server command is not found, you may need to add KeyDB's bin directory to your system's PATH environment variable. On Linux and macOS, you can do this by adding the following line to your shell configuration file (e.g.,
On Windows, you can add the path to KeyDB's bin directory to the PATH environment variable via the Control Panel.
Alternatively, you can also check the version of KeyDB from within the KeyDB CLI by running the
127.0.0.1:6379> INFO SERVER # Server keydb_version:6.0.16 keydb_git_sha1:00000000 keydb_git_dirty:0 keydb_build_id:4bb25c2d4fc4a7fc ...
This will output a lot of information about the server, including the KeyDB version under the
That's it! You now know how to check the version of KeyDB both from the command line and from within the KeyDB CLI.
Dragonfly is fully compatible with the Redis ecosystem and requires no code changes to implement.