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

go install fails #1

Closed
tiansiyuan opened this issue Jan 11, 2019 · 3 comments
Closed

go install fails #1

tiansiyuan opened this issue Jan 11, 2019 · 3 comments

Comments

@tiansiyuan
Copy link

Following the steps in README.md

gosh git:(master) go install
main.go:4:2: cannot find package "github.com/cezarmathe/gosh/shell" in any of:
/usr/local/Cellar/go/1.11.2/libexec/src/github.com/cezarmathe/gosh/shell (from $GOROOT)
/Users/tsy/go/src/github.com/cezarmathe/gosh/shell (from $GOPATH)

@kroppt
Copy link
Contributor

kroppt commented Jan 11, 2019

Along with referenced pull request, you can also install from the source code folder:

git clone https://github.com/cezarmathe/gosh.git
cd gosh
go mod init
go install

and finally

gosh

@cezarmathe
Copy link
Owner

Oh, my bad. It should've been go get instead of git clone. Thanks!

@tiansiyuan
Copy link
Author

works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants