nvm use --lts

Category: Node.js & npm/yarn

nvm use --lts

Switch to the latest installed LTS version of Node.js

Switches to the latest LTS version you have installed without needing to type the exact version number.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.