Skip to content

Commit 3ddbb04

Browse files
authored
Merge pull request #49 from rennnosuke/fix/README-install
Fix README: add installation in Go version >= 1.16
2 parents 4493993 + 3d7142d commit 3ddbb04

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ Inspired by [tokei](https://github.com/Aaronepower/tokei).
1212
## Installation
1313

1414
```
15+
# Go version >= 1.16
16+
$ go install github.com/hhatto/gocloc/cmd/gocloc@latest
17+
18+
# Go version < 1.16
1519
$ go get -u github.com/hhatto/gocloc/cmd/gocloc
1620
```
1721

0 commit comments

Comments
 (0)