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

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.

主站蜘蛛池模板: 渑池县| 沛县| 平昌县| 曲靖市| 龙里县| 邵武市| 万安县| 通道| 阿鲁科尔沁旗| 武川县| 洞口县| 伊宁县| 平顶山市| 军事| 乐东| 宿迁市| 宁南县| 甘德县| 中宁县| 青海省| 科技| 浮梁县| 会同县| 仙游县| 九江市| 达拉特旗| 定日县| 涡阳县| 新晃| 潜山县| 和静县| 诏安县| 基隆市| 弥渡县| 海城市| 天门市| 塘沽区| 嘉兴市| 垣曲县| 阿图什市| 涪陵区|