Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xiantang committed Oct 16, 2023
1 parent 7a28752 commit 674878b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,14 @@ Use a comma to separate items for arguments that take a list as input:

## Installation

### Prefer install.sh
### Prefer `go install` (Recommend)

With go 1.18 or higher:

```bash
go install github.com/cosmtrek/air@latest
```
### Via install.sh

```bash
# binary will be $(go env GOPATH)/bin/air
Expand All @@ -52,13 +59,6 @@ curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh | sh
air -v
```

### Via `go install`

With go 1.18 or higher:

```bash
go install github.com/cosmtrek/air@latest
```

### Docker

Expand Down Expand Up @@ -259,4 +259,4 @@ Give huge thanks to lots of supporters. I've always been remembering your kindne

## License

[GNU General Public License v3.0](LICENSE)
[GNU General Public License v3.0](LICENSE)

0 comments on commit 674878b

Please sign in to comment.