block by ThomasG77 115ed71902cd42d62d329a3ad74613f5

Compile Node - quick recipe

Compile Node

sudo mkdir -p /opt/node/bin
chmod -R 777 /opt/node/
cd ~
git clone --depth 1 --branch v20.9.0 https://github.com/nodejs/node
cd node
sudo apt-get install build-essential python3-distutils git
sudo apt install clang-10
CC=clang-10 CXX=clang++-10 ./configure --prefix=/opt/node/
make -j4
make install