File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,16 @@ To download a stable release of goversion, see the
2626example, to download the latest version run the following:
2727
2828``` bash
29- VERSION=v0.1.0 # Change to get an older version.
30- wget https://github.com/erwinvaneyk/goversion/releases/download/v${VERSION} /goversion_$( echo $VERSION | sed ' s/v//' ) _$( uname) _$( uname -m) .tar.gz -O goversion.tar.gz
29+ # Change to get an older version.
30+ VERSION=v0.1.1
31+
32+ # Download goversion
33+ curl -L https://github.com/erwinvaneyk/goversion/releases/download/${VERSION} /goversion_$( echo $VERSION | sed ' s/v//' ) _$( uname) _$( uname -m) .tar.gz > goversion.tar.gz
3134tar -xvf goversion.tar.gz
32- sudo mv ./goversion /usr/local/bin/goversion
35+ mv ./goversion /usr/local/bin/goversion
36+
37+ # Check if goversion is working
38+ which goversion && goversion version
3339```
3440
3541### Using Go tools to get the goversion CLI
You can’t perform that action at this time.
0 commit comments