fnm default 22

Category: Node.js & npm/yarn

fnm default 22

Set the default Node version

Makes the 22.x release the version fnm selects when no .node-version file is present, so new shells start on it. Run bare fnm default to print the current default. Override per project with a .node-version file.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.