kerolloz / go-installer

Go-Installer: Effortless Golang Installation with One Command! 🚀
MIT License
142 stars 17 forks source link

Unknown option 'show-progress' #18

Closed PylotLight closed 3 months ago

PylotLight commented 4 months ago
bash <(curl -sL https://git.io/go-installer)
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

      ____  ___       ___ _   _ ____ _____  _    _     _     _____ ____  
     / ___|/ _ \     |_ _| \ | / ___|_   _|/ \  | |   | |   | ____|  _ \ 
    | |  _| | | |_____| ||  \| \___ \ | | / _ \ | |   | |   |  _| | |_) |
    | |_| | |_| |_____| || |\  |___) || |/ ___ \| |___| |___| |___|  _ < 
     \____|\___/     |___|_| \_|____/ |_/_/   \_\_____|_____|_____|_| \_\

Finding latest version of Go for linux-amd64...
Downloading Go latest version (1.22.5)...
Unknown option 'show-progress'
Download failed!

Been using this tool for ages but suddenly getting this issue, not sure what's going on here.

PylotLight commented 4 months ago

Looks like my distro is using Wget2 V2.1.0 which changes the flag to ---force-progress unfortunately which is annoying.

CorentinB commented 3 months ago

Hey folks! I think this should do the trick: https://github.com/kerolloz/go-installer/pull/19