Skip to content

Package not with "go install" installable #202

Open
@bluebrown

Description

@bluebrown

Hi, I would like to use go install, but it didn't work.

$ go install github.com/rubenv/sql-migrate                                                                                                                                                          
go install: version is required when current directory is not in a module
        Try 'go install github.com/rubenv/sql-migrate@latest' to install the latest version

I needed to use the provided command from the docs, but it shows warnings.

$ go get github.com/rubenv/sql-migrate/...
go get: installing executables with 'go get' in module mode is deprecated.
        To adjust and download dependencies of the current module, use 'go get -d'.
        To install using requirements of the current module, use 'go install'.
        To install ignoring the current module, 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'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions