Installing nodejs

http://www.hostingadvice.com/how-to/install-nodejs-ubuntu-14-04/#node-version-manager

For global install, in a sudo shell

export NVM_DIR=/opt/nvm
(
git clone https://github.com/creationix/nvm.git "$NVM_DIR"
cd "$NVM_DIR"
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" origin`
) && . "$NVM_DIR/nvm.sh"

vi ~/.bashrc

And add the following code at the end.

export NVM_DIR="/opt/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm



To use version 6.5
nvm use 6.5

Resources for node

An Inside Look at the Architecture of NodeJS: https://mcgill-csus.github.io/student_projects/Submission2.pdf

Art of node: https://github.com/maxogden/art-of-node

About node.js event loop
https://nodesource.com/blog/understanding-the-nodejs-event-loop/
http://blog.mixu.net/2011/02/01/understanding-the-node-js-event-loop/

Learning resources for node:
http://nodeschool.io/#workshoppers
Learn using learnyournode

Popular posts from this blog

Getting Started with pyOpenCL in WSL

Dissecting OpenCL code

Starting and using GT.M