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

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.

主站蜘蛛池模板: 汝阳县| 吉隆县| 林口县| 集安市| 怀安县| 眉山市| 西盟| 双辽市| 当涂县| 宁阳县| 四会市| 东莞市| 凤凰县| 克拉玛依市| 宜州市| 天峨县| 革吉县| 滕州市| 汤原县| 安义县| 改则县| 灵丘县| 禹州市| 和硕县| 赣榆县| 兴仁县| 兰坪| 长宁县| 余干县| 安多县| 读书| 肥城市| 嘉定区| 尚志市| 同江市| 崇文区| 大英县| 曲周县| 惠水县| 岳阳县| 兴山县|