g.version(1grass)

✨ g.version β€” the manual page, but make it cute ✨

okay bestie, grab a strawberry milk πŸ“ because we're looking at g.version(1grass), the GRASS User's Manual page that tells you exactly which version of GRASS you're living in. it's giving "who am I, where am I, what year is it" but make it a command. πŸ’…


πŸ’– NAME πŸ’–

g.version β€” displays GRASS version info.

and optionally it also prints build or copyright information. obsessed, honestly. 🫢


🏷️ KEYWORDS 🏷️

general, support, citing, copyright, version, license

iykyk ✨


πŸ“œ SYNOPSIS πŸ“œ

g.version
g.version --help
g.version [-cxbreg]  [format=name]   [--help]  [--verbose]  [--quiet]
[--ui]

🚩 Flags 🚩

  • -c β€” also prints the copyright message πŸŽ€
  • -x β€” also prints the citation options πŸ“š
  • -b β€” also prints the build information πŸ”¨
  • -r β€” also prints the GIS library revision number and the date πŸ•°οΈ
  • -e β€” also prints extended info for additional libraries: GDAL/OGR, PROJ, GEOS 🌈
  • -g β€” prints info in shell script style (and includes the Git reference commit). [deprecated] this flag is deprecated and is gonna get removed in a future release, fr fr. use format=shell instead. πŸ’€
  • --help β€” print usage summary
  • --verbose β€” verbose module output
  • --quiet β€” quiet module output
  • --ui β€” force launching GUI dialog πŸͺŸ

πŸŽ›οΈ Parameters πŸŽ›οΈ

  • format=name β€” output format
    • Options: plain, shell, json
    • Default: plain
    • plain: human readable text output
    • shell: shell script style text output
    • json: JSON (JavaScript Object Notation)

🌸 DESCRIPTION 🌸

g.version prints to standard output the GRASS version number, the date, the GRASS copyright (that's the -c flag, bestie), and GRASS build information (that's the -b flag). three little facts, zero drama. ✨


πŸ“ NOTES πŸ“

this program requires no command line arguments β€” you literally just type g.version on the command line and boom, you get the version number and the date of the GRASS software you're currently running. no cap. 😌

if you want info about the GRASS core GIS Library, that's the -r flag's whole moment. πŸ’…

and version numbers of additional libraries like PROJ, GDAL/OGR or GEOS? that's -e, babes. 🌈

also!! see the function version() from the 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
heads up 🫢: if revision=exported shows up instead of the git hash, that means the git program was not available during compilation of GRASS, and the source code did not contain the .git/ subdirectory (which requires, e.g., to git clone the GRASS software repository). so yeah, no git, no hash. πŸ₯²

πŸ“š Citing GRASS πŸ“š

the GRASS Development Team has invested significant time and effort in creating GRASS, so please cite it when you're using it for data analysis. periodt. πŸ‘‘ the GRASS Web site offers citations in different styles.


πŸ‘‘ 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)

Latest change: Monday Dec 08 21:47:55 2025 in commit: d3c6479bef77a58e3b5d85259303dbfb9c1babe8

Main index | General index | Topics index | Keywords index | Graphical index | Full index

Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual


and that's the whole page, bestie!! πŸ¦‹ this was GRASS 8.5.0, manual page g.version(1grass), last touched on that Monday Dec 08 21:47:55 2025 vibe. go ask your GRASS what version it is, it'll tell you everything it knows. slay. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from