Skip to content
Keith Peters edited this page Sep 15, 2020 · 27 revisions

Welcome to the version wiki!

Background

What version do I have of ___?

You've been there...

java -v // unrecognized option
java -V // unrecognized option
java --version // unrecognized option
java --Version // unrecognized option
java -Version // unrecognized option
java -version // 1.8.0_262

There's no standard.

gcc --version
node -v
node --version
python -V
perl -v
perl --version
go version
lua -v
rustc --version

Use

Just type version followed by the name of the tool you want to know the version of:

version node   // v14.70
version gcc    // 10.1.0
version java   // 1.8.0_262
version pascal // 'pascal' does not seem to be installed.

Options

version -h # display help
version -l # display a list of known programs and their version flags.
version -c # display count of known programs.
version -v # display version of version

Manual

man version # displays the (minimal) man page
Clone this wiki locally