nvm install --lts

Category: Node.js & npm/yarn

nvm install --lts

Install the latest Long-Term Support (LTS) version of Node.js — most stable for production

Downloads and installs the latest Long-Term Support (LTS) Node.js release. LTS versions get security patches for 30 months — the safe choice for production.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.