Skip to content

Commit

Permalink
Update install.md (#2728)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfordjody committed Jun 28, 2023
1 parent ebe5424 commit 2198282
Showing 1 changed file with 19 additions and 14 deletions.
33 changes: 19 additions & 14 deletions content/zh-cn/overview/mannual/golang-sdk/quickstart/install.md
Expand Up @@ -7,30 +7,31 @@ title: 安装 Dubbo-go 开发环境
type: docs
weight: 1
---
### 1. 推荐 Go 版本





### 1. 安装Go语言环境

> go version >= go 1.15。建议使用最新版 go 1.19
[【Go 语言官网下载地址】](https://golang.google.cn/)
[Go](https://golang.google.cn/) >= `1.15`
> 建议使用最新 `1.19`
安装成功后将 `$GOPATH/bin` 加入环境变量

### 2. 安装序列化工具protoc
### 2. 安装序列化工具

[protoc 下载地址】](https://github.com/protocolbuffers/protobuf/releases)
[protoc](https://github.com/protocolbuffers/protobuf/releases)

### 3. 安装 dubbogo-cli 以及相关插件
### 3. 安装工具以及相关插件

执行以下指令安装dubbogo-cli 至 `$GOPATH/bin`
执行以下指令安装 dubbogo-cli 至 `$GOPATH/bin`

添加 Go 模块代理
```bash
$ export GOPROXY="https://goproxy.cn"
```
安装 dubbogo-cli 工具
```bash
$ go install github.com/dubbogo/dubbogo-cli@latest
```
执行 dubbogo-cli 命令
```bash
$ dubbogo-cli
hello
```
Expand All @@ -46,8 +47,12 @@ $ dubbogo-cli install all
```bash
$ protoc --version
libprotoc 3.14.0
```
```bash
$ protoc-gen-go --version
protoc-gen-go v1.26.0
```
```bash
$ protoc-gen-go-triple --version
protoc-gen-go-triple 1.0.8
```
```

0 comments on commit 2198282

Please sign in to comment.