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