官术网_书友最值得收藏!

  • 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:

  1. Run the following command:
      sudo apt install -y nodejs
  1. 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:

  1. Use the following command:
      sudo apt install -y npm
  1. 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.

主站蜘蛛池模板: 陆河县| 郑州市| 弋阳县| 澳门| 应城市| 竹山县| 德惠市| 札达县| 新蔡县| 公主岭市| 辽宁省| 涞水县| 雅江县| 阜阳市| 社旗县| 南投县| 金溪县| 涿鹿县| 绥棱县| 资兴市| 抚宁县| 遂昌县| 老河口市| 达尔| 阳原县| 临江市| 全椒县| 仪陇县| 乌海市| 华蓥市| 大英县| 刚察县| 库伦旗| 杭锦旗| 东乌珠穆沁旗| 镇远县| 英吉沙县| 安国市| 宜兰县| 乌什县| 元谋县|