Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

added go to .local install #8

Merged
merged 2 commits into from
Aug 13, 2015
Merged

added go to .local install #8

merged 2 commits into from
Aug 13, 2015

Conversation

vdavez
Copy link

@vdavez vdavez commented Mar 12, 2015

No description provided.

@monfresh
Copy link
Contributor

Thanks! When adding brew installations, it's a good idea to check if anything else needs to be done by running brew info [name of tool]. For example, here is the output of brew info go:

go: stable 1.4.2 (bottled), HEAD
https://golang.org
Not installed
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/go.rb
==> Options
--with-cc-all
    Build with cross-compilers and runtime support for all supported platforms
--with-cc-common
    Build with cross-compilers and runtime support for darwin, linux and windows
--without-cgo
    Build without cgo
--without-godoc
    godoc will not be installed for you
--without-vet
    vet will not be installed for you
--HEAD
    Install HEAD version
==> Caveats
As of go 1.2, a valid GOPATH is required to use the `go get` command:
  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/libexec/bin

Note the last part. If you could please add that and test that it works, that would be great.

You can do it like this:

# shellcheck disable=SC2016
append_to_file "$HOME/.zshrc" 'export PATH="$PATH:/usr/local/opt/go/libexec/bin"'

monfresh added a commit that referenced this pull request Aug 13, 2015
added go to .local install
@monfresh monfresh merged commit 6c8f8a8 into 18F:master Aug 13, 2015
@monfresh monfresh mentioned this pull request Aug 13, 2015
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants