Home >Web Front-end >JS Tutorial >How to install the specified version of node on ubuntu

How to install the specified version of node on ubuntu

藏色散人
藏色散人Original
2021-12-13 11:39:309181browse

How to install the specified version of node on ubuntu: 1. Open the command window; 2. Execute "wget ​​-qO-https://deb.nodesource.com/setup_8.x | sudo -E bash -sudo apt- get..." command to install it.

How to install the specified version of node on ubuntu

The operating environment of this article: ubuntu 16.04 system, nodejs version 10.16.2, Dell G3 computer.

How to install the specified version of node on ubuntu?

ubuntu Install the latest or specified version of nodejs

Install 8.x

wget -qO- https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs

Install 10.x

wget -qO- https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs

For other systems, you can check the installation method on the official website

Official installation document

Recommended study: "node.js video tutorial"

The above is the detailed content of How to install the specified version of node on ubuntu. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn