Install N "N" is a Node Version Manager $ https://www.npmjs.com/package/n install Node and NPM (they come together) $ node -v v9.10.1 $ n latest will install the latest version of Node, and the correct version on NPM to go with it.