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

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.

主站蜘蛛池模板: 淄博市| 河池市| 乌鲁木齐市| 黔西| 于都县| 崇左市| 道真| 呼玛县| 翁源县| 安康市| 大洼县| 宜州市| 宜章县| 峨眉山市| 中西区| 崇文区| 沧州市| 额敏县| 阳新县| 安远县| 新绛县| 论坛| 安国市| 黔东| 双流县| 赤壁市| 清远市| 手游| 蓬溪县| 衡阳市| 海城市| 五家渠市| 武鸣县| 弥勒县| 淮滨县| 三穗县| 荣成市| 积石山| 大安市| 雷波县| 渭源县|