install node from tar.gz unix code example
Example 1: install node in linux from tar
. ~/.profile
Example 2: install node in linux from tar
# NodeJSexport NODEJS_HOME=/opt/node-v10.1.0-linux-x64/binexport PATH=$NODEJS_HOME:$PATH
. ~/.profile
# NodeJSexport NODEJS_HOME=/opt/node-v10.1.0-linux-x64/binexport PATH=$NODEJS_HOME:$PATH