Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Fast and Simple Node.js Installer (n.gc.gy)
4 points by snek on Oct 21, 2017 | hide | past | favorite | 3 comments
I found that other node installers didn't actually install node (just add repos/ppa/etc) or had super long urls (or both :O) so I decided to make my own that just does what it says on the tin. Usage is pretty easy, just curl or wget or whatever floats your boat and then bash it.


> other node installers didn't actually install node (just add repos/ppa/etc)

That's a good thing. Ideally you don't even want an "installer" (if by installer you mean a shell script) to add a repo. You just want a gpg key blob/id and a repo URL; OR a "release" package for you distro, which contains the above and will install them in the correct locations.

This means you get regular updates via eg apt-get upgrade, you can see exactly what files a package installed (or even will install if you download the package file first)

Installing software from a shell script like that is a terrible solution quite frankly. `curl|sudo bash` type things are the marquee tag of the ops world.


Windows support?


I was considering doing this but at that point I would have to be doing annoying analysis of user agents and who is installing node from cmd anyway




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: