[Novice] can understand ubuntu configured appium environment

1.node installation:

In the node official website: https://nodejs.org/en/download/  download the corresponding installation package (download the latest version here recommended) Once you have downloaded on the specified path liunx

I'm here to opt into this folder.

 

You must first extract to opt folder

 sudo tar -xJf node-v10.16.3-linux-x64.tar.xz -C /opt

 Establish a link with the node execution

sudo ln -s /opt/node-v10.16.3-linux-x64/bin/node /usr/local/bin/node

Establish links with the implementation of npm

/opt/node-v10.16.3-linux-x64/bin/npm sudo ln -s / usr / local / bin / above sea level

 

Run the command:

above sea level -V

Run the command:

node -v

Under appear showing the contents represent node and npm installed successfully.

 

Guess you like

Origin www.cnblogs.com/codeDevotee/p/11391581.html