docs(install): Add go install command for installation
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
68200c5525
commit
791ce9ecf2
12
README.md
12
README.md
|
@ -269,6 +269,18 @@ cd gorush
|
||||||
go install
|
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
|
### Command Usage
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|
Loading…
Reference in New Issue