refactor: finish moving ssh-* scripts to own installers
[webi-installers/.git] / go / install.sh
1 #!/bin/bash
2 # title: Go (golang alias)
3 # homepage: https://webinstall.dev/golang
4 # tagline: Alias for https://webinstall.dev/golang
5 # alias: golang
6 # description: |
7 #   See https://webinstall.dev/golang
8
9 echo "'go@${WEBI_TAG:-stable}' is an alias for 'golang@${WEBI_VERSION:-}'"
10 WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"}
11 curl -fsSL "$WEBI_HOST/golang@${WEBI_VERSION:-}" | bash