Installation of node.js from 10.25 to 6.11

I want to install node.js version 6.11 right now it’s running 10.25. How do I do that??

Thanks but I am using Oracle Virtual Box on windows and not digitalocean.