docs(setup): explain adding the Go bin directory to PATH after go install

This commit is contained in:
Jakub Zych
2026-10-01 17:12:53 +02:00
parent be51bfe1e1
commit bd2f7e7cb5

View File

@@ -25,6 +25,12 @@ go install ./cmd/summer
summer --help 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: 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 ```sh