go version command shows old version number after update to 1.8

后端 未结 5 1544
清歌不尽
清歌不尽 2021-02-02 09:28

Pretty much the title. I downloaded/installed Go 1.8 for OS X, but when I go

$ go version
go version go1.7.5 darwin/amd64

My .bashrc look like

5条回答
  •  一生所求
    2021-02-02 09:48

    In my case, I had to replace binary files manually after re-installation.

    cp /usr/local/go/bin/* /usr/local/bin/
    

提交回复
热议问题