Your Go is older than Grit needs

A generated project\u2019s go.mod asks for a newer Go than the one on PATH.

The fix

Install the current Go from go.dev/dl, then open a new terminal.

Terminal
# macOS
$brew upgrade go
# Anywhere: the tarball or installer from go.dev/dl

Why it happens

The pin is not about language features. Older patch releases carry standard-library vulnerabilities that a generated project reaches before anybody has signed in: several in net/http, and one in the XML parsing behind the SAML sign-in path.

That is why the go directive in a generated go.mod is as much a security decision as any dependency version, and why grit doctor reports a toolchain below the floor rather than leaving it to you to notice.

A newer Go than the pin is fine. The check is a floor, not an exact match.

How to tell it worked

Terminal
$go version
$grit doctor --env

Still stuck? The troubleshooting page covers more, and the errors guide lists every message with its cause. Running grit doctor --env checks this machine for all of them at once.