docs(install): Add go install command for installation

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2022-02-04 08:12:23 +08:00
parent 68200c5525
commit 791ce9ecf2
1 changed files with 12 additions and 0 deletions

View File

@ -269,6 +269,18 @@ cd gorush
go install
```
or you can use the `go get` command to install the latest or specific verison.
**Note**: such go get installation aren't guaranteed to work. We recommend using binary installation.
```sh
# Go 1.16+
go install github.com/appleboy/gorush@latest
# Go version < 1.16
go get -u github.com/appleboy/gorush@latest
```
### Command Usage
```sh