diff --git a/docs/getting-started/local-setup.md b/docs/getting-started/local-setup.md index 753b6688b1a..2d2c1b7ab58 100644 --- a/docs/getting-started/local-setup.md +++ b/docs/getting-started/local-setup.md @@ -15,6 +15,13 @@ and validate that they are correctly configured to run on your machine. - **Git** - **`make` (for running Makefiles)** - **Go 19+** +- **Go Environment Setup**: + - Make sure `$GOPATH` is well-defined, and `$GOPATH/bin` is added to your `$PATH` variable. + - To do this, you can add the following line to your `.bashrc`, `.zshrc` or other config file: +``` +export GOPATH=$HOME/go +export PATH=$GOPATH/bin:$PATH +``` ## 1. Cloning the repository