Today, I needed to figure out which version of Redis my server was running. Here are a few ways on how to do this.
The quickest way to get the version:
redis-cli INFO server
Look for the line:
redis_version:7.0.11
You can also connect interactively:
redis-cli
Then run:
INFO server
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.