编译并安装包和依赖项。为主包在 $GOPATH/bin 中创建可执行文件。使用 go install package@version 安装特定版本的工具。通常用于系统范围安装 CLI 工具。
$GOPATH/bin
go install package@version