How can I get the installed Varnish cache version string from the command line?
Asked
Active
Viewed 7.6k times
2 Answers
77
According to the varnish documentation, it's varnishd -V
D_Bye
- 13,797
- 3
- 42
- 31
-
3Thanks! In case anyone is as brilliant as me, make sure you're using a capital "V". I couldn't figure it out because I was using a lowercase one. [bonk!] – TravisCarden Apr 10 '13 at 19:43
-
2I need to find _varnishd_ first, so I used _locate_. It was located at _/usr/sbin/varnishd_ . – pmaruszczyk Aug 20 '14 at 13:36
-
1You might also need to run it as root or with sudo – wranvaud Nov 24 '15 at 20:13
3
varnishd -V
This will return you something like:
varnishd (varnish-4.1.5 revision 2c82b1c)
Copyright (c) 2006 Verdens Gang AS
Copyright (c) 2006-2015 Varnish Software AS
Dmytro Lukachuk
- 31
- 2