fnm is a π Fast and simple Node.js version manager, built in Rust.
Get latest π± NodeJS version from nodejs.org/dist
fnm list-remote --latest
# expected version now: v22.3.0
# install it:
fnm use 22.3
# Do you want to install it? answer [y/N]: y
# Using Node v22.3.0
# confirm
node -v
# expected version: v22.3.0
# for more info and config:
fnm list-remote --help