Home > Web Front-end > JS Tutorial > body text

How to install the specified version of node on ubuntu

藏色散人
Release: 2021-12-13 11:39:43
Original
9095 people have browsed it

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
Copy after login

Install 10.x

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

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!