It is recommended to use the latest version of go 1.17
go version >= go 1.15
[Go language official website download address]
Add $GOPATH/bin to environment variable
Execute the following command to install dubbogo-cli to $GOPATH/bin
$ export GOPROXY="https://goproxy.cn"
$ go install github.com/dubbogo/dubbogo-cli@latest
$ dubbogo-cli
hello
Install dependent tool plugins
$ dubbogo-cli install all
Make sure the tools installed above are located in the system environment variables
$ protoc --version
libprotoc 3.14.0
$ protoc-gen-go --version
protoc-gen-go v1.26.0
$ protoc-gen-go-triple --version
protoc-gen-go-triple 1.0.8