/tmp $ go get github.com/zRedShift/mimemagic/v2/cmd/mimemagic
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'.
/tmp [1]$
Instructions
mimemagic/README.md
Lines 42 to 45 in 5028b72
Result
I'm on go version
go1.21.1darwin/arm64.