goplantuml icon indicating copy to clipboard operation
goplantuml copied to clipboard

zsh: command not found: goplantuml

Open dhruv-chavda-mt opened this issue 2 years ago • 3 comments

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

dhruv-chavda-mt avatar Feb 08 '23 07:02 dhruv-chavda-mt

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

a-kbd avatar Mar 01 '23 21:03 a-kbd

Is this resolved?

jfeliu007 avatar May 16 '23 13:05 jfeliu007

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?

robertomorati avatar May 16 '24 15:05 robertomorati