diff --git a/README.md b/README.md index 07a3417..e7ff880 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,7 @@ fabric --setup If everything works you are good to go, but you may need to set some environment variables in your `~/.bashrc` or `~/.zshrc` file. Here is an example of what you can add: +For Intel based macs ```bash # Golang environment variables export GOROOT=/usr/local/go @@ -122,6 +123,14 @@ export GOPATH=$HOME/go export PATH=$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$PATH: ``` +for Apple Silicon based macs +```bash +# Golang environment variables +export GOROOT=/opt/homebrew/bin/go +export GOPATH=$HOME/go +export PATH=$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$PATH: +``` + ### Migration If you have the Legacy (Python) version installed and want to migrate to the Go version, here's how you do it. It's basically two steps: 1) uninstall the Python version, and 2) install the Go version.