jfeliu007 / goplantuml

PlantUML Class Diagram Generator for golang projects
MIT License
1.77k stars 165 forks source link

zsh: command not found: goplantuml #150

Open dhruv-chavda-mt opened 1 year ago

dhruv-chavda-mt commented 1 year ago

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 commented 1 year ago

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

jfeliu007 commented 1 year ago

Is this resolved?

robertomorati commented 1 month ago

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?