Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/cmd/getgo: warn if user already have a Go installation #21217

Closed
rakyll opened this issue Jul 29, 2017 · 1 comment
Closed

x/tools/cmd/getgo: warn if user already have a Go installation #21217

rakyll opened this issue Jul 29, 2017 · 1 comment
Labels
FrozenDueToAge Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@rakyll
Copy link
Contributor

rakyll commented Jul 29, 2017

$ getgo
Welcome to the Go installer!
Downloading Go version go1.8.3 to /Users/jbd/.go
This may take a bit of time...
Downloaded!
Setting up GOPATH

One more thing! Run `source /Users/jbd/.zshrc` to persist the
new environment variables to your current session, or open a
new shell prompt.

Then when I do a which go in a new shell, it points to the earlier installation. We should probably warn the user if there is already a Go installation available (at a different location) on the system and recommend user to remove it before proceeding.

/cc @broady

@rakyll rakyll added this to the Unreleased milestone Jul 29, 2017
@mikioh mikioh changed the title cmd/getgo: warn if user already have a Go installation x/tools/cmd/getgo: warn if user already have a Go installation Aug 3, 2017
@gopherbot gopherbot added the Tools This label describes issues relating to any tools in the x/tools repository. label Sep 12, 2019
@ZekeLu
Copy link
Contributor

ZekeLu commented May 11, 2022

https://go-review.googlesource.com/51930 has been merged and I think this issue can be closed. (the referenced issue in the Fixes line is Fixes #21217).

@golang golang locked and limited conversation to collaborators May 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge Tools This label describes issues relating to any tools in the x/tools repository.
Projects
None yet
Development

No branches or pull requests

4 participants