Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm running Mac OS X Snow Leopard. How can I check which version of vim I have installed?

Ideally I'd like to know a general solution for checking software versions via the command line.

share|improve this question

3 Answers 3

up vote 21 down vote accepted

The command:

vim --version

This is pretty standard for all unix executables.

share|improve this answer

or, just if you run vim already and want to know what you are in right now:

:version
share|improve this answer
    
aha, this is also good to know--thanks! –  Stew Jun 4 '10 at 17:09

In a terminal run vim --version ther version number is in the top line of output.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.