NodeJS is a JavaScript framework that allows you to build fast network applications with ease. In this guide, we delve in and see how you can How to install NodeJS on Ubuntu 18.04.
NodeJS是一个JavaScript框架,可让您轻松构建快速的网络应用程序。 在本指南中,我们将深入研究如何在Ubuntu 18.04上安装NodeJS。
步骤1:将NodeJS PPA添加到Ubuntu 18.04 (Step 1: Adding the NodeJS PPA to Ubuntu 18.04)
To start off, add the NodeJS PPA to your system using the following commands.
首先,使用以下命令将NodeJS PPA添加到系统中。
sudo apt-get install software-properties-common
Sample Output
样本输出
Next, add the NodeJS PPA.
接下来,添加NodeJS PPA。
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
Sample Output