golang 各版本下载地址

由于需要翻墙 不好找 因此记下地址,以备日后之所需

https://storage.googleapis.com/golang

mac 安装golang
通过 brew search go

➜  test brew search go
==> Formulae
algol68g                        go@1.4                          gomplate                        goto                            mongodb@3.0
arangodb                        go@1.8                          goocanvas                       gource                          mongodb@3.2
argon2                          go@1.9                          goofys                          govendor                        mongodb@3.4
bogofilter                      goaccess                        google-authenticator-libpam     gowsdl                          mongodb@3.6
cargo-completion                goad                            google-benchmark                gox                             mongoose
certigo                         gobby                           google-java-format              gst-plugins-good                pango
cgoban                          gobject-introspection           google-sparsehash               gx-go                           pangomm
clingo                          gobuster                        google-sql-tool                 hugo                            percona-server-mongodb
django-completion               gocr                            googler                         jfrog-cli-go                    pygobject
forego                          gocryptfs                       goolabs                         jpegoptim                       pygobject3
fuego                           godep                           goose                           lego                            ringojs
gnu-go                          goenv                           gopass                          lgogdownloader                  spaceinvaders-go
go ✔                            gofabric8                       gor                             libgosu                         spigot
go-bindata                      goffice                         goreleaser                      mongo-c-driver                  svgo
go-jira                         gollum                          gost                            mongo-cxx-driver                wego
go-statik                       golo                            gosu                            mongo-orchestration             wireguard-go
go@1.10 ✔                       gom                             gotags                          mongodb                         write-good

安装

➜  test brew install go@1.10
==> Downloading https://homebrew.bintray.com/bottles/go@1.10-1.10.4.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring go@1.10--1.10.4.sierra.bottle.tar.gz
==> Caveats
A valid GOPATH is required to use the `go get` command.
If $GOPATH is not specified, $HOME/go will be used by default:
  https://golang.org/doc/code.html#GOPATH

You may wish to add the GOROOT-based install location to your PATH:
  export PATH=$PATH:/usr/local/opt/go@1.10/libexec/bin

go@1.10 is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.

If you need to have go@1.10 first in your PATH run:
  echo 'export PATH="/usr/local/opt/go@1.10/bin:$PATH"' >> ~/.zshrc

==> Summary
��  /usr/local/Cellar/go@1.10/1.10.4: 8,188 files, 336.9MB
  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值