nvm alias default 20

Category: Node.js & npm/yarn

nvm alias default 20

Set a Node.js version as your default — it will be used in every new terminal session

Makes Node.js v20 your default — it will be active automatically whenever you open a new terminal.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.