File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,25 @@ Inspired by [Httpie](https://github.com/jakubroztocil/httpie). Thanks to the aut
39
39
40
40
## Installation
41
41
42
+ ### Install with Modules - Go 1.11 or higher
43
+
44
+ If you only want to install the ` bat ` tool:
45
+
42
46
go get -u github.com/astaxie/bat
43
-
44
- make sure the ` $GOPATH/bin ` is added into ` $PATH `
47
+
48
+ If you want a mutable copy of source code:
49
+
50
+ git clone https://github.com/astaxie/bat ;# clone outside of GOPATH
51
+ cd bat
52
+ go install
53
+
54
+ Make sure the ` ~/go/bin ` is added into ` $PATH ` .
55
+
56
+ ### Install without Modules - Before Go 1.11
57
+
58
+ go get -u github.com/astaxie/bat
59
+
60
+ Make sure the ` $GOPATH/bin ` is added into ` $PATH ` .
45
61
46
62
## Usage
47
63
Original file line number Diff line number Diff line change
1
+ module github.com/astaxie/bat
2
+
3
+ go 1.12
You can’t perform that action at this time.
0 commit comments