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

Installing Node.js

Since Ionic uses Node.js for its CLI as well as for the build tasks, we will first install it as follows:

  1. Navigate to https://nodejs.org/.

Click on the Install button on the homepage and an installer for our OS will automatically be downloaded. We can also navigate to https://nodejs.org/download/ and download a specific copy.

  1. Install Node.js by executing the downloaded installer.

To verify that Node.js has been successfully installed, open a new Terminal (*nix systems) or Command Prompt (Windows systems) and run the following command:

        node -v
> v6.10.1
  1. Now execute the following command:
      npm -v
> 3.10.10

npm is a Node Package Manager that we will be using to download various dependencies for our Ionic project.

We need Node.js only during the development. The version specified is only for illustration. You may have the same version or the latest version of the software.

主站蜘蛛池模板: 内黄县| 灯塔市| 安泽县| 克拉玛依市| 金堂县| 酒泉市| 凤翔县| 平乡县| 晋江市| 漯河市| 漯河市| 漠河县| 海门市| 农安县| 探索| 阳山县| 鄢陵县| 襄城县| 嘉义县| 天台县| 伊宁县| 化州市| 满洲里市| 武定县| 平和县| 遵义市| 沧州市| 胶南市| 甘肃省| 翁牛特旗| 成武县| 阳江市| 穆棱市| 玉林市| 阳东县| 项城市| 保山市| 唐海县| 铁岭市| 运城市| 无锡市|