Setup download node https://nodejs.org/en/ untar it $ tar xvf node-v16.14.1-linux-x64.tar.xz $ mkdir -p /usr/local/nodejs $ mv node-v16.14.1-linux-x64/* /usr/local/nodejs update $PATH in .bashrc export PATH=$PATH:/usr/local/nodejs/bin