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

zsh: command not found: goplantuml #150

Open
dhruv-chavda-mt opened this issue Feb 8, 2023 · 3 comments
Open

zsh: command not found: goplantuml #150

dhruv-chavda-mt opened this issue Feb 8, 2023 · 3 comments

Comments

@dhruv-chavda-mt
Copy link

even though I am installing the required dependencies I am getting this error

zsh: command not found: goplantuml

I've run these commands to install goplantuml

❯ go get github.com/jfeliu007/goplantuml/parser
❯ go install github.com/jfeliu007/goplantuml/cmd/goplantuml@latest

and then, tried running this command goplantuml temp.go and got the error

@a-kbd
Copy link

a-kbd commented Mar 1, 2023

Try instead running ~/home/<your_user>/go/bin/goplantuml temp.go

@jfeliu007
Copy link
Owner

Is this resolved?

@robertomorati
Copy link

Solution for Macbook:

export PATH=$PATH:$(go env GOPATH)/bin
echo 'export PATH=$PATH:$(go env GOPATH)/bin' >> ~/.zshrc
source ~/.zshrc

@jfeliu007
Would adding it to a help session in the Readme would be great?

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

4 participants