How to find the version of Redis

I am on my ubuntu 12.04 (exact32) box where Redis was installed, but I cannot find out the version of Redis. How can I solve this problem?

It was installed using the redisio cookbook .

+6
source share
1 answer
  • If you want to find the server version:

    $ redis-server -v 

    For example, on my system, I get this result:

     Redis server v=2.8.4 sha=00000000:0 malloc=libc bits=64 build=92637893332b8579 
  • If you want to get the client version:

     $ redis-cli -v 
  • If you want to know the server version, from the client:

     > INFO 

and the first line is the version of the Redis server.

+12
source

All Articles