Lessons from the first Node School workshop: learnyounode.
http://thefragmentationparadox.blogspot.pt/2014/09/node-school-event.html
sudo apt-get install nodejs(or via node.js website)sudo apt-get install npmnpm install -g learnyounode
- For newer versions of node.js, the command line interpreter is
nodejs [...], instead ofnode [...], which might create confusion and errors. - Simbolic link allows you to change nodejs->node, and it can be done this way:
sudo ln -s /usr/bin/nodejs /usr/bin/node
- Call the platform
learnyounode, to see the exercises. - To check if your solution is right:
learnyounode verify file.js