'Wasmd isn't installed

I have tried to install wasmd on Ubuntu.

git clone https://github.com/CosmWasm/wasmd.git
cd wasmd
git checkout v0.23.0
make install

But when I tried wasmd version, I met wasmd: command not found. It seems like the problem of PATH setting but I don't know what to do.

Is there anybody who would help me with solving this issue?



Solution 1:[1]

You need to set the go PATH.

Find where go is installed. And, vi ~·bash_profile

export GOPATH="/Users/{Username}/go"

export PATH="$GOPATH/bin:$PATH"

:wq

source ~/.bash_profile

You can check it with the echo $GOPATH/bin command.

$GOPATH may change when the terminal restarts....

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 WONSUNGJUN