Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


Install Node.js using tar file manually

Download the Node.js source code. https://nodejs.org/en/download/

Input tar file on Linux server using FTP

  • LTS version: node-v12.18.0-linux-x64.tar.xz

  • Latest version: node-v14.4.0-linux-x64.tar.xz

Extract tar file into /opt

# node LTS version
sudo tar -xvf node-v12.18.0-linux-x64.tar.xZ -C /opt

# node latest version
sudo tar -xvf node-v14.4.0-linux-x64.tar.xz -C /opt

resister PATH in .bash_profile

vi ~/.bash_profile
# NODE
# NODE_VERSION=v12.18.0
NODE_VERSION=v14.4.0
NODE_DISTRO=linux-x64
NODE_HOME="/opt/node-${NODE_VERSION}-${NODE_DISTRO}"

export PATH=$PATH:$NODE_HOME/bin


Install yarn latest version

download tar file from official website

official website: https://classic.yarnpkg.com/en/

tar file URL: https://yarnpkg.com/latest.tar.gz

Input tar file on Linux server using FTP

Extract tar file into /opt

sudo tar -vxf yarn-v1.22.4.tar -C /opt

resister PATH in .bash_profile

# YARN
YARN_VERSION=v1.22.4
YARN_HOME="/opt/yarn-${YARN_VERSION}"

export PATH=$PATH:$YARN_HOME/bin
  • No labels