Last active
January 2, 2021 13:51
-
-
Save afirth/fabc04406eb584601b473f599eb0170a to your computer and use it in GitHub Desktop.
Make binaries installed with go get available on path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add to [bash/zsh]rc and source | |
# Golang | |
which go > /dev/null && \ | |
export GOPATH=$(go env GOPATH) && \ | |
export PATH=$GOPATH/bin:$PATH | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment