Configuring the Node Environment

1 Run the wget command to download the Node.js installation package

Wget HTTP: / / https://nodejs.org/dist/v14.15.4/node-v14.15.4-linux-x64.tar.xzCopy the code

2 unzip the package

The tar XVF node - v14.15.4 - Linux - x64. Tar. XzCopy the code

3 CD/Go to the following directory to create a soft link

Ln -s /node-v14.15.4- Linux -x64/bin/node /usr/local/bin/node ln -s /node-v14.15.4- Linux -x64/bin/npm /usr/local/bin/npmCopy the code

4 Check the NODE NPM version

node -v

npm -v
Copy the code