g.version1grass
Displays grass gis version info. optionally also prints build or copyright information.
Usage
g.version
g.version --help
g.version [-cxbreg]
[--help]
[--verbose]
[--quiet]
[--ui]
Keywords
general, support, citing, copyright, version, license
Overview
g.version prints to standard output the GRASS version number, date, the GRASS GIS copyright (-c flag), and GRASS build information (-b flag).
Notes
This program requires no command line arguments; the user simply types g.version on the command line to see the version number and date of the GRASS GIS software currently being run by the user.
Information about GRASS GIS core GIS Library can be printed by -r flag.
Version numbers of additional libraries like PROJ, GDAL/OGR or GEOS are printed by -e flag.
See also function version() from Python Scripting Library.
import grass.script as gcoreprint gcore.version()
Examples
Basic info
g.versionGRASS 8.4.0 (2024)
GIS Library info
g.version -rGRASS 8.4.0 (2024)libgis revision: c9e8576cflibgis date: 2024-04-27T09:38:49+00:00
Full info in shell script style
g.version -rgeversion=8.4.0date=2024revision=d57f40906build_date=2024-05-23build_platform=x86_64-pc-linux-gnubuild_off_t_size=8libgis_revision=c9e8576cflibgis_date=2024-04-27T09:38:49+00:00proj=8.2.1gdal=3.4.3geos=3.9.2sqlite=3.36.0
Note: if revision=exported is reported instead of the git hash then the git program was not available during compilation of GRASS GIS and the source code did not contain the .git/ subdirectory (requires e.g. to git clone the GRASS GIS software repository.)
Citing GRASS GIS
The GRASS Development Team has invested significant time and effort in creating GRASS GIS, please cite it when using it for data analysis. The GRASS GIS Web site offers citations in different styles.
Source code
Available at: g.version source code (history)
Accessed: Monday Feb 24 17:50:30 2025
Main index | General index | Topics index | Keywords index | Graphical index | Full index
© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
Releases
10 releases since Debian 4.0 (Etch); the text changed 9 times.