Bash script to detect the version of a Joomla! installation.
Just download the script to a directory in your $PATH
. For example:
wget https://raw.githubusercontent.com/PopArtDesign/joomla-version/refs/heads/main/joomla-version \
-O ~/.local/bin/joomla-version && chmod +x ~/.local/bin/joomla-version
joomla-version [options] [<path>]
<path>
: Optional path to the Joomla! installation directory. Defaults to the current directory.
-l
,--long
: Print the long version string, including codename, release date, etc.-h
,--help
: Show the help message and exit.
# Get the short version string
joomla-version /path/to/joomla
4.1.0
# Get the long version string
joomla-version --long /path/to/joomla
Joomla! 4.1.0 Stable [ Amani ] 21-February-2022 16:00 GMT
Copyright (c) Voronkovich Oleg. Distributed under the MIT.