~/Downloads $ curl -sL https://deb.nodesource.com/setup_6.x | bash -
bash: line 1: html: No such file or directory
bash: line 2: syntax error near unexpected token <'
'ash: line 2:
It is a 404, normal it doesn't work.
I think you can use the direct link, at least for the moment: https://raw.githubusercontent.com/nodesource/distributions/master/deb/setup_6.x
It isn't in the README yet, so I don't know if it's safe to do.
the raw link above can not be working, because dists folder under the https://deb.nodesource.com/node_6.x/ is absent now.
My bad, sorry for the wrong lead.
I hadn't tried it because I used n to install the new version.
The packages aren't built yet for 6.x. Once they are built, we'll push them as well as these setup scripts live.
The packages are live now, enjoy!
Thanks @chrislea :-)
Most helpful comment
The packages aren't built yet for 6.x. Once they are built, we'll push them as well as these setup scripts live.