Those two commands required earlier commands to install node and npm.

And `rails new` required me to install Ruby and Rails. I'm not sure what the point you're making is.

NPM comes with Node. And obviously you need to install node, just like you need to install Ruby....