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

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

主站蜘蛛池模板: 驻马店市| 江永县| 方城县| 湄潭县| 武城县| 达拉特旗| 兴义市| 东丽区| 资兴市| 霸州市| 南昌县| 沾益县| 吉安县| 西安市| 密云县| 龙泉市| 岳阳县| 大兴区| 定边县| 平果县| 青川县| 靖远县| 黎川县| 长春市| 临安市| 卢氏县| 台前县| 邛崃市| 天气| 土默特右旗| 福泉市| 蒲城县| 满洲里市| 杭锦后旗| 西乌珠穆沁旗| 无为县| 南阳市| 公安县| 宣汉县| 鲁甸县| 罗江县|