Hugo mod init not seeing go in path

Clean Debian 11 install.

# go version
go version go1.17.3 linux/amd64

# git version
git version 2.30.2

# echo $PATH

# hugo mod init
Error: failed to init modules: exec: “go”: executable file not found in $PATH

So what is going on here? Why is the mod module not seeing something that is obviously in the path?

Don’t use the Hugo snap package.