mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-24 03:46:37 +02:00
Merge pull request #600 from tomatopunk/patch-1
Update README.md,Fix Windows Install Kratos
This commit is contained in:
commit
8072f24266
@ -34,7 +34,15 @@ Go version>=1.13
|
|||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
```shell
|
```shell
|
||||||
|
# Unix/Linux
|
||||||
GO111MODULE=on && go get -u github.com/go-kratos/kratos/tool/kratos
|
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
|
cd $GOPATH/src
|
||||||
kratos new kratos-demo
|
kratos new kratos-demo
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user