go install
Compile and install packages named by the import paths. More information: https://pkg.go.dev/cmd/go#hdr-Compile_and_install_packages_and_dependencies.
- Compile and install the current package:
go install
- Compile and install a specific local package:
go install
- Install the latest version of a program, ignoring
go.modin the current directory:
go install @
- Install a program at the version selected by
go.modin the current directory:
go install
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
