From 8bc99976b943a62c0b2af602984de849bc6250e3 Mon Sep 17 00:00:00 2001 From: flamingo Date: Mon, 22 Jun 2020 13:49:54 +0800 Subject: [PATCH] Update README.md,Fix Windows Install Kratos Windows Install Kratos,Change GO111MODULE to On,Please use 'go env -w GO111MODULE=on' Fix: GO111MODULE=on -> go env -w GO111MODULE=on --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 73184b86a..7e2b441dc 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,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 GO111MODULE=on ; go get -u github.com/go-kratos/kratos/tool/kratos + +# Windows (CMD) +go env GO111MODULE=on && go get -u github.com/go-kratos/kratos/tool/kratos + cd $GOPATH/src kratos new kratos-demo ```