grpcui: command not found

3.9k views Asked by At

I am new to grpcui. I've been trying to follow the installation. I did

go get github.com/fullstorydev/grpcui/...
go install github.com/fullstorydev/grpcui/cmd/grpcui

I also added grpcui path to my $PATH. Even tried to pull down the repo and make install. But I keep getting grpcui: command not found. Anyone could help ?

3

There are 3 answers

1
Adam On BEST ANSWER

After installation, your grpcui should be in /home/user/go/bin. If so, try and add that folder to your $PATH, as I did (and it worked).

0
Alex Boutin Flegel On

To further Adam's answer, a critical step in updating the PATH is restarting the terminal.

On OSX this needs to be done via exec bash -l. Simply exiting and opening the terminal does not work.

0
Sai Sandeep On

If you are using a linux system and grpcui command doesn't work even after installing the grpcui in the go/bin folder then the PATH for go is not set in the environmental variable and the go command works even without setting up the environmental varaible for it so don't get confused by it.You can always check whether PATH is set for go by using the command echo $PATH. If it is not set then set the PATH for go. I installed go in my home directory so you can set the path for go using the command: export PATH="$HOME/go/bin:$PATH". Now if you try grpcui -help it would be working fine.