aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMaurĂ­cio Antunes <mauricio.abreua@gmail.com>2023-10-08 17:22:09 -0300
committerMaurĂ­cio Antunes <mauricio.abreua@gmail.com>2023-10-08 17:22:09 -0300
commit9470773b37215dfc4c4aa736a5fe1eac356f6d2d (patch)
tree6ae30e71d6e728dd42f02334e1773f363b63ca00 /README.md
parent465a7071d63b115fd5fb41bbb0bae928d0cb1e39 (diff)
docs: Add go/bin to PATH
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index dde74b9..abb1b42 100644
--- a/README.md
+++ b/README.md
@@ -25,6 +25,10 @@ There are two ways to install `golings`
go install github.com/mauricioabreu/golings/golings@latest
```
+Add `go/bin` to your PATH if you want to run golings anywhere in your terminal. From the official docs:
+
+> The install directory is controlled by the GOPATH and GOBIN environment variables. If GOBIN is set, binaries are installed to that directory. If GOPATH is set, binaries are installed to the bin subdirectory of the first directory in the GOPATH list. Otherwise, binaries are installed to the bin subdirectory of the default GOPATH ($HOME/go or %USERPROFILE%\go).
+
### Binaries
Go to the [releases page](https://github.com/mauricioabreu/golings/releases) and choose the option that best fits your environment.