How to install Node.js
1. Update and upgrade the packages
  1. sudo apt update && sudo apt upgrade
2. Download and install Node.js from the NodeSource repository
Node.js v21.x
  1. curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash - &&\
    sudo apt-get install -y nodejs
3. Verify the Node.js installation
  1. node -v
v21.7.1