doc: update installation in getting-started (#2414)

since Go 1.18 `go get` is no longer the way to download a command for any supported version: updated to use go install instead.
This commit is contained in:
Frédéric G. MARAND
2022-03-20 10:47:06 +01:00
committed by GitHub
parent 0d9173c0b9
commit 938233b191

View File

@@ -29,7 +29,7 @@ go mod init <project>
## Installation
```console
go get -d entgo.io/ent/cmd/ent
go install entgo.io/ent/cmd/ent@latest
```
After installing `ent` codegen tool, you should have it in your `PATH`.