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

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.

主站蜘蛛池模板: 阿坝县| 伊春市| 什邡市| 中西区| 杭锦后旗| 普陀区| 东宁县| 沂水县| 谷城县| 敦化市| 桃江县| 若羌县| 和龙市| 衡东县| 柳州市| 镇雄县| 廉江市| 拉孜县| 华坪县| 厦门市| 兴义市| 泰和县| 阳江市| 隆昌县| 益阳市| 卓资县| 万宁市| 泰州市| 台中市| 南郑县| 开封县| 区。| 定远县| 罗甸县| 安达市| 扎鲁特旗| 石渠县| 于都县| 凤庆县| 塔城市| 保康县|