How to get the Joomla! version from the command line

You can get the version of the Joomla CMS from the command line if you have no access to the admin panel. Run the following command from the site folder:

grep '$RELEASE' libraries/cms/version/version.php

Depending on the version, the following one can work

grep '$RELEASE' libraries/joomla/version/version.php

As a result you get the version:

public $RELEASE = '2.5';

Categories:

Updated: