I run this command to install an update version nodejs on ubuntu 18.04
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
I receive the error "curl option -: is unknown"
I have tried on multiple systems
if curl
does not work (those options are fine and it might be a strange kind of hyphen or alike):
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
just use wget
instead:
wget -qO- https://deb.nodesource.com/setup_12.x | sudo -E bash -
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With