Skip to content

x/website: Incorrect step to modify PATH environment variable #69001

@rootulp

Description

@rootulp

What is the URL of the page with the issue?

https://go.dev/doc/install

What is your user agent?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36

Screenshot

Screenshot 2024-08-21 at 4 10 21 PM

What did you do?

I copied this command and ran it on a Scaleway instance

What did you expect to see?

I expected all my Go binaries to be accessible via my PATH

What did you see instead?

Instead the Go binaries I installed were not accessible via my PATH. The go binaries that I installed were saved to /root/go/bin so I had to modify my path via:

export PATH=$PATH:/root/go/bin

to access those binaries. Can this step be modified to account for cases where the Go bin directory is not at /usr/local/go/bin

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions