Home » Tag Archives: How To Install Node.js Framework

Tag Archives: How To Install Node.js Framework

How To Install Node.js Framework with Express and socket.io modules

1. Get a repository or package  of node.js using following command sudo apt-get install nodejs 2. After that we need a  NodeJS package manager (npm) sudo apt-get install npm Run the node.js using the command node node.js node.js supports different modules Examples : socket.io ,express,http..etc var socket = require( ‘socket.io’ ); var express = require( ‘express’ ); var http = require( ‘http’ ); ...

Read More »