Skip to content

Commit da8fb1f

Browse files
committed
Fix README
1 parent b707cc7 commit da8fb1f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,15 @@ go get -u github.com/cosmtrek/air
3838

3939
### macOS, Linux, Windows
4040

41-
The binary is published on the [release page](https://github.com/cosmtrek/air/releases).
41+
```bash
42+
# binary will be $(go env GOPATH)/bin/air
43+
curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
44+
45+
# or install it into ./bin/
46+
curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh | sh -s
47+
48+
air -v
49+
```
4250

4351
P.S. Great thanks mattn's [PR](https://github.com/cosmtrek/air/pull/1) for supporting Windows platform.
4452

0 commit comments

Comments
 (0)