Node Version Manager (NVM) installation on Ubuntu 18.04

-- current version

-- for node.js installation
# apt-get update && apt-get install -qq -y vim git curl net-tools
# apt-get install -y node.js

-- nvm

-- installation
$ curl -o- | bash

$ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/" ] && \. "$NVM_DIR/"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

// install latest LTS
$ nvm install --lts


-- show possible
$ nvm ls-remote

// (Latest LTS: Dubnium)
$ nvm install v10.16.3

$ nvm use v10.16.3

-- set default
$ nvm alias default v10.16.3

$ node --version

$ nvm install-latest-npm

$ npm --version

Node.JS and Docker

Run Docker Container (with node.js)

Node.JS Static Server

Static Server

Check updates for node packages

$ npm install -g npm-check-updates
$ ncu -u
$ npm install

Node.JS EventEmitter


Node.JS Read Write Steams and Pipes

Node.JS Read Write Steams and Pipes

Nodejs Authentication Using JWT and Refresh Token

Nodejs Authentication Using JWT and Refresh Token


Node.js login, registration and access control using Express and Passport

Node.js login, registration and access control using Express and Passport



REST nodejs

REST nodejs

Node.JS Articles

[YouTube, Brad Traversy] Building token based authentication using NodeJs and RethinkDB
10 things you should do while running Node.js in production

Node.js and Redis tutorial – Building Email verification system and here



Hosting Node.js app to DigitalOcean Server

Some commands:

$ npm init -f
This will automatically accept the defaults.

The -f stands for force. These flags also work: --yes, -y, --force.

$ npm list -g --depth=0
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

$ npm list --depth=0
[email protected] /projects/04 MovieFind
├── [email protected] extraneous
├── [email protected] extraneous
├── [email protected]
├── [email protected]
├── [email protected] extraneous
└── [email protected] extraneous

$ npm update -g npm
$ npm update -g bower
$ npm update -g gulp

$ npm cache clean
$ bower cache clean

Check npm packages

Email from Codeforgeek

We at Codeforgeek have covered almost every aspects of Node.js development. Starting from Setting up the project to deployment using automated tools.

In this email, we wanted to list down popular node.js post which is considered to be best by our audience. Let us know if you like them.

Here is the list.

Node.js and MySQL tutorial.
File uploads using Node.js.
Handle get and post request in Express.
Render HTML in ExpressJS.
Manage Session using Node.js and Express.
Continuous integration and deployment using Jenkins and Node.js.
Real-time notification system using and Node.js.
Node and SQLite tutorial.
Using Redis to handle Session in Node.js.
How to send Email using Node.js.
Building REST API using Nodejs.
Real-time newsfeed using Node and Socket.
Multiple file upload using Nodejs.
Test API using Nodejs.
Express and Nodejs tutorial for beginners.

The post is sorted by views count by Google analytics hence they are not in order.

Save the email or bookmark those URL’s, I am sure it’s going to help you a lot.