From bd2f7e7cb53ba3a479adc8f3c651c783954d1087 Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Thu, 1 Oct 2026 17:12:53 +0200 Subject: [PATCH] docs(setup): explain adding the Go bin directory to PATH after go install --- docs/setup/installation.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/setup/installation.md b/docs/setup/installation.md index bc9438c..c329ee6 100644 --- a/docs/setup/installation.md +++ b/docs/setup/installation.md @@ -25,6 +25,12 @@ go install ./cmd/summer summer --help ``` +`go install` writes the binary to `$(go env GOPATH)/bin`, usually `~/go/bin`. If `summer --help` reports `command not found`, that directory is not on your `PATH`. Add it for the current shell, and to your shell profile to keep it: + +```sh +export PATH="$(go env GOPATH)/bin:$PATH" +``` + The tool builds and watches applications, scaffolds plugins, models, migrations and admin controllers, and builds this documentation. Check that the framework compiles and its unit tests pass: ```sh