From d301892e3bd0b8fd18e5b32e77ad76d9e99417be Mon Sep 17 00:00:00 2001 From: Daniel Miessler Date: Mon, 19 Aug 2024 11:30:43 -0700 Subject: [PATCH] Update README.md Updated migration instructions. --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bc235c3..f59509b 100644 --- a/README.md +++ b/README.md @@ -127,8 +127,20 @@ pipx uninstall fabric # Install the Go version go install github.com/danielmiessler/fabric@latest # Run setup for the new version. Important because things have changed -fabric --setup +fabric --setup ``` + +### Environment Variables + +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: + +```bash +# Golang environment variables +export GOROOT=/usr/local/go +export GOPATH=$HOME/go +export PATH=$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$PATH: +``` + ### Upgrading The great thing about Go is that it's super easy to upgrade. Just run the same command you used to install it in the first place and you'll always get the latest version.