DEV Community

Luu Vinh Loc
Luu Vinh Loc

Posted on Edited on

Use the latest version of Node.js with fnm

To install the latest Node.js version using fnm (Fast Node Manager) - https://github.com/Schniz/fnm, use the command:

fnm --version
# fnm 1.39.0

# install latest version
fnm install --latest
Enter fullscreen mode Exit fullscreen mode

For example, output is "Installing Node v25.8.0 (arm64)...".
Switch to version: fnm use <version>.
Set default: fnm default <version>.

Top comments (0)