Ubuntu
apt install golang-go
OSX
brew install go
Ubuntu
apt install libsdl2-dev libsdl2_gfx-dev libsdl2_ttf-dev
OSX
brew install pkg-config sdl2 sdl2_gfx sdl2_ttf
go get -v github.com/wmurray8989/go-snakes
go run main.go
The first time you run, it might take a few minutes to start because it has to download go-sdl2. It will be faster in subsequent starts.