diff --git a/README.md b/README.md index 462dfd632..39132eb83 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,15 @@ Go version>=1.13 ### Installation ```shell +# Unix/Linux GO111MODULE=on && go get -u github.com/go-kratos/kratos/tool/kratos + +# Windows (Powershell) +go env -w GO111MODULE=on ; go get -u github.com/go-kratos/kratos/tool/kratos + +# Windows (CMD) +go env -w GO111MODULE=on && go get -u github.com/go-kratos/kratos/tool/kratos + cd $GOPATH/src kratos new kratos-demo ```