downgrade node.js to 10 code example Example: how to downgrade node version $ npm install -g n $ n 6.10.3