To install a new version of NodeJS, e.g., 16, 18, 20, etc., run

nvm install <version>