Reputation: 730
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?
Upvotes: 2
Views: 759
Reputation: 17
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....
Upvotes: 1