I’m a real noob at this. I’ve just began scratching the surface on node.js/socket.io/html5 and stuff. I finally figured out how to use my command prompt (using windows) to launch a “hello world” application with the command “node example.js.” But what does npm mean? When I’m looking at socket.io it says to install, npm install socket.io Does that mean I need to extract all the files into my nodejs folder?
I’m confused.
npm is a command line interface program to manage node.js libraries (it stands for node package manager – at least it did initially, they since turned this into a bit of a running gag – thanks to @spex in the comments for that link). Check out the docs, it is awesome and amazing. As you mentioned, just type npm install in a command prompt, and voilà, you have the library in your local node modules.