- Change your Node version with
n
(based on this)npm install -g n # install n globally n 10.16.0 # install particular version n lts # install latest version n # switch versions
n
(based on this)
npm install -g n # install n globally
n 10.16.0 # install particular version
n lts # install latest version
n # switch versions