Skip to content

Version and Help

GitHub Action edited this page Nov 19, 2026 · 369 revisions

Version and Help

Print the current version of Gam with details

gam version
GAM 7.52.05 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com>
Python 3.15.2 64-bit final
macOS Golden Gate 27.2.1 arm64
Path: /Users/gamteam/bin/gam7
Config File: /Users/gamteam/GamConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
Time: 2026-11-11T07:51:00-08:00

Print the current version of Gam with details and time offset information. By default, Gam checks the time offset to admin.googleapis.com, use location <HostName> to check the time offset to <HostName>.

gam version timeoffset
GAM 7.52.05 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com>
Python 3.15.2 64-bit final
macOS Golden Gate 27.2.1 arm64
Path: /Users/gamteam/bin/gam7
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
Your system time differs from www.googleapis.com by less than 1 second

Print the current version of Gam with extended details and SSL information. By default, Gam checks the time offset to admin.googleapis.com, use location <HostName> to check the time offset to <HostName>.

gam version extended
GAM 7.52.05 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com>
Python 3.15.2 64-bit final
macOS Golden Gate 27.2.1 arm64
Path: /Users/gamteam/bin/gam7
Config File: /Users/gamteam/GamConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
Time: 2026-11-11T07:51:00-08:00
Your system time differs from admin.googleapis.com by less than 1 second
OpenSSL 3.5.7 9 Jun 2026
arrow 1.4.0
chardet 7.4.3
charset_normalizer 3.4.7
cryptography 48.0.1
filelock 3.29.4
google-api-python-client 2.197.0
google-auth-httplib2 0.4.0
google-auth-oauthlib 1.4.0
google-auth 2.55.1
lxml 6.1.1
httplib2 0.31.2
passlib 1.7.4
pathvalidate 3.3.1
pyscard 2.3.0
urllib3 2.7.0
yubikey-manager 5.8.0
admin.googleapis.com connects using TLSv1.3 TLS_AES_256_GCM_SHA384

Print the current and latest versions of Gam and:

  • set the return code to 0 if the current version is the latest version
  • set the return code to 1 if the current version is not the latest
gam version checkrc
GAM 5.35.08 - https://github.com/taers232cGAM7
GAM Team <google-apps-manager@googlegroups.com>
Python 3.8.1 64-bit final
google-api-python-client 2.77.0
httplib2 0.16.0
oauth2client 4.1.3
MacOS High Sierra 10.13.6 x86_64
Path: /Users/gamteam/bin/gam7
Version Check:
  Current: 5.35.08
   Latest: 7.52.05
echo $?
1

Print the current and latest versions of Gam and, if the current version is not the latest version, download the latest version and install it in place of the current version.

  • Only GAM installed from a release on Linux or MacOS or Windows is updated.
  • Update GAM installed with Homebrew with brew upgrade gam, and Python source/library installations with git or pip
  • The download is verified against the SHA-256 digest published with the release and the new version is run once before any files are replaced
  • Files that are not part of the GAM release, e.g., oauth2.txt and client_secrets.json, are not changed
  • If the update fails, the current version is restored
  • gam version update quiet prints nothing when GAM is already current or was updated; failures are still printed and the return code is non-zero. On Windows the return code covers the download and the check of the new version; the final swap happens after GAM exits, and only a failure there is printed.
  • Use option path <Path> to update Gam in <Path>.
gam version update
GAM 7.52.01 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com>
Python 3.15.2 64-bit final
macOS Golden Gate 27.2.1 arm64
Path: /Users/gamteam/bin/gam7
Config File: /Users/gamteam/GamConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
Time: 2026-11-11T07:51:00-08:00
Version Check:
  Current: 7.52.01
   Latest: 7.52.05
Downloading: https://github.com/GAM-team/GAM/releases/download/v7.52.05/gam-7.52.05-macos27.0-arm64.tar.xz
GAM updated to version 7.52.05: /Users/gamteam/bin/gam7

Print the current and latest versions of Gam and download the latest version and install it in <Path>.

  • <Path> must be a new or empty folder or contain a version of GAM.
  • The download is verified against the SHA-256 digest published with the release and the new version is run once before any files are replaced
gam version install <Path> [<quiet>]
GAM 7.52.01 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com>
Python 3.15.2 64-bit final
macOS Golden Gate 27.2.1 arm64
Path: /Users/gamteam/bin/gam7
Config File: /Users/gamteam/GamConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
Time: 2026-11-11T07:51:00-08:00
Version Check:
  Current: None
   Latest: 7.52.05
Downloading: https://github.com/GAM-team/GAM/releases/download/v7.52.05/gam-7.52.05-macos27.0-arm64.tar.xz
GAM 7.52.05 installed: <Path>

Print the current version number without details

gam version simple
7.52.05

In Linux/MacOS you can do:

VER=`gam version simple`
echo $VER

Print the current version of Gam and address of this Wiki

gam help
GAM 7.52.05 - https://github.com/GAM-team/GAM
GAM Team <google-apps-manager@googlegroups.com>
Python 3.15.2 64-bit final
macOS Golden Gate 27.2.1 arm64
Path: /Users/gamteam/bin/gam7
Config File: /Users/gamteam/GamConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
Time: 2026-11-11T07:51:00-08:00
Help: Syntax in file /Users/gamteam/bin/gam7/GamCommands.txt
Help: Documentation is at https://github.com/GAM-team/GAM/wiki

FAQ

Update History

Installation

Configuration

Notes and Information

Definitions

Command Processing

Collections

Client Access

Special Service Account Access

Service Account Access

Clone this wiki locally