fnm install 22

Category: Node.js & npm/yarn

fnm install 22

Install a specific Node version via fnm

Installs the newest 22.x release from nodejs.org into the fnm version directory. Partial versions resolve to the latest matching release. Switch to it with fnm use 22.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.