I'm trying to build go program on remote server from bash script but error (sh: 1: go: not found) returns. Same thing if I try to figure out the version:
ssh user@host "go version"
sh: 1: go: not found
How to fix it? (go
on that server exists and works)