Linux Install Method Not Working
Closed this issue · 3 comments
zach-is-my-name commented
[~/tmp]$ go version
go version go1.18.1 linux/amd64
[~/tmp]$ go get github.com/bakks/butterfish/cmd/butterfish
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
bakks commented
@zach-is-my-name Ahh, I should have updated that, try the following:
go install github.com/bakks/butterfish/cmd/butterfish@v0.0.29
This should create:
$(go env GOPATH)/bin/butterfish
bakks commented
@zach-is-my-name Sorry made a mistake there - should be
go install github.com/bakks/butterfish/cmd/butterfish@v0.0.29
zach-is-my-name commented
Confirmed that works