Is there a way to install node.js and npm in an unattended way (with a shell script) without building it from source? I have an array of servers that scales automatically based on server load, but downloading the Node.js source and building it using make takes like 10 minutes.
Thanks!
edit: I tried copying over the binaries, but that resulted in an error that the binary was corrupted. And yes, they are all EC2 m1.small instances.
Assuming your script is something like:
Can you not just use the results from here on each new instance, and continue with: