About including Node.js

Futher than what @linuxdev mentioned from apt that would be the easiest way, alternately for other versions you may try something like (check the version you want):

curl -sL https://raw.githubusercontent.com/nodesource/distributions/master/deb/setup_current.x | sudo -E bash -

# Check version
sudo apt search nodejs
...
nodejs/unknown 14.9.0-1nodesource1 arm64
  Node.js event-based server-side javascript engine
...

# Install 
sudo apt-get install -y nodejs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  nodejs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 24,1 MB of archives.
After this operation, 118 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_14.x bionic/main arm64 nodejs arm64 14.9.0-1nodesource1 [24,1 MB]
Fetched 24,1 MB in 1min 36s (250 kB/s)                                                                                          
Selecting previously unselected package nodejs.
(Reading database ... 188217 files and directories currently installed.)
Preparing to unpack .../nodejs_14.9.0-1nodesource1_arm64.deb ...
Unpacking nodejs (14.9.0-1nodesource1) ...
Setting up nodejs (14.9.0-1nodesource1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...

Note that it may require some prerequisite packages such as apt-transport-https libxkbfile-dev libsecret-1-dev rpm libx11-dev fakeroot (this was 2 years ago for nodejs 8.11.2…) [EDIT: recent versions of the setup script would auto-install dependencies such as apt-transport-https and others.]

1 Like