how to switch to a downgraded node version using npm code example Example: how to downgrade node version $ npm install -g n $ n 6.10.3