g.version(1)
π g.version β the GRASS GIS User's Manual glow-up π
okay bestie, gather round π«Ά this is the manual page for g.version(1), and it's literally the "who am I, where do I come from" of your GRASS GIS install. Short, sweet, iconic.
β¨ NAME β¨
g.version β Displays GRASS GIS version info.
Optionally also prints build or copyright information. π
πΈ KEYWORDS πΈ
general, support, citing, copyright, version, license
π SYNOPSIS π
g.version
g.version --help
g.version [-cxbreg] [--help] [--verbose] [--quiet] [--ui]
π¦ Flags:
-cβ Print also the copyright message-xβ Print also the citation options-bβ Print also the build information-rβ Print also the GIS library revision number and date-eβ Print also extended info for additional libraries GDAL/OGR, PROJ, GEOS-gβ Print info in shell script style (including Git reference commit)--helpβ Print usage summary--verboseβ Verbose module output--quietβ Quiet module output--uiβ Force launching GUI dialog
π« DESCRIPTION π«
g.version prints to standard output the GRASS version number, date, the GRASS GIS copyright (that's the -c flag bestie), and GRASS build information (-b flag). Simple as that, no cap. β¨
π NOTES π
This program requires no command line arguments; you literally just type g.version on the command line and it shows you the version number and date of the GRASS GIS software you're currently running. no setup, no flags required, just vibes π§
Info about the GRASS GIS core GIS Library can be printed by the -r flag. π
Version numbers of additional libraries like PROJ, GDAL/OGR or GEOS are printed by the -e flag. π¦
See also function version() from Python Scripting Library.
import grass.script as gcore
print gcore.version()
π₯ EXAMPLES π₯
β Basic info
g.version
GRASS 8.4.0 (2024)
β GIS Library info
g.version -r
GRASS 8.4.0 (2024)
libgis revision: c9e8576cf
libgis date: 2024-04-27T09:38:49+00:00
β Full info in shell script style
g.version -rge
version=8.4.0
date=2024
revision=d57f40906
build_date=2024-05-23
build_platform=x86_64-pc-linux-gnu
build_off_t_size=8
libgis_revision=c9e8576cf
libgis_date=2024-04-27T09:38:49+00:00
proj=8.2.1
gdal=3.4.3
geos=3.9.2
sqlite=3.36.0
Note: ifrevision=exportedis reported instead of the git hash then thegitprogram was not available during compilation of GRASS GIS and the source code did not contain the.git/subdirectory (requires e.g. togit clonethe 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. give them their credit bestie, it's the least we can do π
π AUTHORS π
- Michael Shapiro, U.S. Army Construction Engineering Research Laboratory
- Extended info by Martin Landa, Czech Technical University in Prague, Czech Republic
π SOURCE CODE π
Available at: g.version source code (history)
Accessed: Saturday Jan 17 05:40:40 2026
Main index | General index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual
and that's the whole page, bestie π«Ά this was GRASS 8.4.2, and the manual was pulled on Saturday Jan 17 05:40:40 2026 β so like, yeah, go forth and g.version responsibly β¨π
π
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms