Can't install on Windows
cuamckuu opened this issue · comments
Alex Kosh commented
Have golang installed
$ go version
go version go1.18 windows/amd64
Using command from readme:
$ go install -u github.com/cube2222/octosql
flag provided but not defined: -u
usage: go install [build flags] [packages]
Run 'go help install' for details.
After removing -u
:
$ go install github.com/cube2222/octosql
go: 'go install' requires a version when current directory is not in a module
Try 'go install github.com/cube2222/octosql@latest' to install the latest version
After adding @latest
:
$ go install github.com/cube2222/octosql@latest
go: github.com/cube2222/octosql@latest (in github.com/cube2222/octosql@v0.9.2):
The go.mod file for the module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module.
Kuba Martin commented