Some notes and pointers on installing and using node.js on Fedora 20.
The best way to install node.js on Fedora 20 is to get the latest package from nodesource. The nodejs and npm packages available from Fedora and EPEL are not as up to date and will often break things in frustrating ways.
As root run the following commands:
curl -sL https://rpm.nodesource.com/setup | bash -
yum install -y nodejs
At a minimum you’ll want grunt and bower available globally:
npm install -g grunt-cli
npm install -g bower
For most everything else you’re going to be installing and configuring things for each developer individually. The paradigm followed by node is focused on building things in the developer’s own home directory. For this reason you’ll find that those building software with node will each have their own ~/.npm and ~/.npm/node_modules directories. You may want to see that everything gets installed globally on a web server running node application services, but even there it might be better to install to the home directory of whatever account will actually be running the service.
Node.js download links (for Windows, MacOS, Linux and SunOS)