diff --git a/README.md b/README.md index 817de678e..446677ae6 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ docker run -it --rm -p 8000:8000 --workdir /workspace golang ```shell apt-get update && apt-get -y install protobuf-compiler export GOPROXY=https://goproxy.io,direct -go get github.com/go-kratos/kratos/cmd/kratos/v2@latest && kratos upgrade +go install github.com/go-kratos/kratos/cmd/kratos/v2@latest && kratos upgrade ``` ```shell diff --git a/README_zh.md b/README_zh.md index 3b2fd1764..a28f934de 100644 --- a/README_zh.md +++ b/README_zh.md @@ -51,9 +51,9 @@ Kratos 一套轻量级 Go 微服务框架,包含大量微服务相关功能及 - [protoc-gen-go](https://github.com/protocolbuffers/protobuf-go) ### Installing -##### go get 安装: +##### go install 安装: ``` -go get github.com/go-kratos/kratos/cmd/kratos/v2@latest +go install github.com/go-kratos/kratos/cmd/kratos/v2@latest kratos upgrade ``` ##### 源码编译安装: