I need to know which Firefox version is installed on my system from command line of Windows or Linux.
7 years later...
On newer version (I tried on 51.0.1) @Nömmik's answer doesn't work on Windows.
But you can try this workaround:
firefox -v | find "Mozilla"