The easy way and which I will explain is to use PPA (personal package archive), is a repository maintained by NodeSource, they maintain the latest Node.js packages. Also allow select between the stable version v4.x which has long term support or the version v6.x that is the