我试着在Ubuntu上安装wasmd。
git clone https://github.com/CosmWasm/wasmd.git
cd wasmd
git checkout v0.23.0
make install但当我尝试wasmd version时,我遇到了wasmd: command not found。这似乎是PATH设置的问题,但我不知道该做什么。
有人愿意帮我解决这个问题吗?
发布于 2022-04-24 07:57:26
你需要设定前进的路径。
找出哪里安装了。和,vi ~·bash_profile
导出GOPATH=“/User/{Username}/go”
PATH="$GOPATH/bin:$PATH"
*wq
source ~/.bash_profile
您可以使用echo $GOPATH/bin命令检查它。
当终端重新启动时,
$GOPATH可能会更改.
https://stackoverflow.com/questions/71520344
复制相似问题