# Download the latest NodeSource setup scriptcurl -fsSL https://deb.nodesource.com/setup_lts.x -o nodesource_setup.shsudo -E bash nodesource_setup.sh# Use either one of the following commands to install Node.jssudo apt-get install -y nodejs or sudo apt-get install -y nsolid# check node versionnode -v