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

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.

主站蜘蛛池模板: 江阴市| 新巴尔虎左旗| 大埔县| 柯坪县| 弥渡县| 汝城县| 广水市| 莲花县| 松桃| 桂东县| 怀仁县| 水富县| 东平县| 瑞安市| 藁城市| 肇庆市| 鲁甸县| 德惠市| 平湖市| 九寨沟县| 安国市| 封开县| 镇雄县| 南木林县| 平陆县| 盈江县| 油尖旺区| 长丰县| 芜湖市| 郸城县| 安龙县| 台中县| 乌拉特后旗| 海丰县| 建阳市| 呼玛县| 潢川县| 胶州市| 定陶县| 修水县| 离岛区|