Open barragh opened 1 year ago
Hello @barragh,
GOPATH
is set up properly. echo $GOPATH
should show you something like /home/yahya/go
. If it's not. you can add it to you shell by export GOPATH="$HOME/go"
to your .bashrc
or .zshrc
if using zshell and similar for any other shell you're using. /home/yahya/go/bin
in your PATH
. So when you run echo $PATH
you should see it somewhere in your path. if it's not there; you need to add PATH="$GOPATH/bin:$PATH"
also to your .bashrc
. .bashrc
file make sure that you're using source .bashrc
command to actually use the updated file or open a new terminal.If it still didn't worked. give the result of following commands so I can investigate more:
go version
go env
Hi. Ive got the same problem(
Do you have $GOPATH/bin
in your $PATH
? If you run echo $PATH
. You should see something /home/{your username}/go/bin
in there, if not, add that to your $PATH
.
Hi, I've installed it as per instructions but whenever I type in 'enola examplename' I just get 'enola: command not found'. I am using the Ubuntu Linux subsystem for Windows 11 and other things have worked fine in the past but this just gives me that. Is it because I'm using the subsystem or is it something else?