- Electron Projects
- Denys Vuika
- 131字
- 2021-06-24 12:14:32
Installing Node.js on Ubuntu
Ubuntu usually doesn't ship with the Node.js and NPM tools out of the box. You need to install them separately.
To install Node.js, follow these steps:
- Run the following command:
sudo apt install -y nodejs
- Now, we need to verify that Node.js has been installed. You can check the version that you've installed in the Terminal application by using the following command:
node --version
The system's output, which will be the version's value, will be v8.11.4 or higher.
To install NPM, follow these steps:
- Use the following command:
sudo apt install -y npm
- The fastest way to check that NPM has been installed is to check its version. You can do so by using the following command:
npm --version
The version number should be 5.8.0 or higher.
推薦閱讀
- VMware View Security Essentials
- Learning Python Design Patterns(Second Edition)
- C#實踐教程(第2版)
- C++20高級編程
- Windows Embedded CE 6.0程序設計實戰
- Extreme C
- Scala for Machine Learning(Second Edition)
- Android開發三劍客:UML、模式與測試
- Python大學實用教程
- 分布式數據庫原理、架構與實踐
- JavaEE架構與程序設計
- Professional JavaScript
- 算法精解:C語言描述
- Ubuntu Server Cookbook
- 狼書(卷2):Node.js Web應用開發