From 9470773b37215dfc4c4aa736a5fe1eac356f6d2d Mon Sep 17 00:00:00 2001 From: MaurĂ­cio Antunes Date: Sun, 8 Oct 2023 17:22:09 -0300 Subject: docs: Add go/bin to PATH --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') 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. -- cgit v1.2.3-70-g09d2