diff --git a/README.md b/README.md index f0aed0d..f1ad98d 100644 --- a/README.md +++ b/README.md @@ -7,15 +7,15 @@ https://go.dev/dl or build it from source. Below are examples for common shells. bash: -`eval "$(gvm 1.26.1)"` +`eval "$(gvm 1.26.2)"` cmd.exe (for batch scripts `%i` should be substituted with `%%i`): -`FOR /f "tokens=*" %i IN ('"gvm.exe" 1.26.1') DO %i` +`FOR /f "tokens=*" %i IN ('"gvm.exe" 1.26.2') DO %i` powershell: -`gvm --format=powershell 1.26.1 | Invoke-Expression` +`gvm --format=powershell 1.26.2 | Invoke-Expression` gvm flags can be set via environment variables by setting `GVM_`. For example `--http-timeout` can be set via `GVM_HTTP_TIMEOUT=10m`. @@ -35,7 +35,7 @@ Linux (amd64): # Linux Example (assumes ~/bin is in PATH). curl -sL -o ~/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.6.0/gvm-linux-amd64 chmod +x ~/bin/gvm -eval "$(gvm 1.26.1)" +eval "$(gvm 1.26.2)" go version ``` @@ -45,7 +45,7 @@ Linux (arm64): # Linux Example (assumes ~/bin is in PATH). curl -sL -o ~/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.6.0/gvm-linux-arm64 chmod +x ~/bin/gvm -eval "$(gvm 1.26.1)" +eval "$(gvm 1.26.2)" go version ``` @@ -55,7 +55,7 @@ macOS (universal): # macOS Example curl -sL -o /usr/local/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.6.0/gvm-darwin-all chmod +x /usr/local/bin/gvm -eval "$(gvm 1.26.1)" +eval "$(gvm 1.26.2)" go version ``` @@ -64,13 +64,13 @@ Windows (PowerShell): ``` [Net.ServicePointManager]::SecurityProtocol = "tls12" Invoke-WebRequest -URI https://github.com/andrewkroh/gvm/releases/download/v0.6.0/gvm-windows-amd64.exe -Outfile C:\Windows\System32\gvm.exe -gvm --format=powershell 1.26.1 | Invoke-Expression +gvm --format=powershell 1.26.2 | Invoke-Expression go version ``` Fish Shell: -Use `gvm` with fish shell by executing `gvm 1.26.1 | source` in lieu of using `eval`. +Use `gvm` with fish shell by executing `gvm 1.26.2 | source` in lieu of using `eval`. For existing Go users: