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

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.

主站蜘蛛池模板: 英吉沙县| 新巴尔虎左旗| 韶关市| 抚州市| 翁牛特旗| 肃北| 宝应县| 营口市| 斗六市| 天峨县| 富平县| 社旗县| 天祝| 龙江县| 晋江市| 顺义区| 英山县| 商南县| 二手房| 宁武县| 铁岭县| 且末县| 珠海市| 香港 | 昌邑市| 巩义市| 行唐县| 柳江县| 互助| 若尔盖县| 满洲里市| 集安市| 密云县| 涿鹿县| 镇康县| 襄樊市| 集贤县| 永康市| 桂平市| 水富县| 珲春市|