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

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

主站蜘蛛池模板: 华容县| 新密市| 吴旗县| 泊头市| 陆良县| 大石桥市| 云浮市| 贵阳市| 扎兰屯市| 合川市| 吴江市| 惠来县| 志丹县| 贵南县| 河北区| 买车| 迁安市| 昭苏县| 吉木萨尔县| 于都县| 洛阳市| 北票市| 西华县| 广东省| 奉新县| 深泽县| 永平县| 遂川县| 湾仔区| 惠东县| 鄂伦春自治旗| 宣城市| 延边| 简阳市| 泰来县| 八宿县| 如东县| 克山县| 临桂县| 麦盖提县| 无棣县|