Update NodeJS from 10.19.0 to 14.17.3 LTS in 20.04

I usually use nvm.
With this tool you can utilize any version of node, side by side on the same machine.

You can install it with curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash

Then download your desired node version nvm install 14 .

Nvm has many other options for managing your node runtimes so check the man page.