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

Installing PhoneGap with NPM

We will use NPM (Node Package Manager) for all the future steps. NPM is part of Node.js, so we should already have installed it. Once you've installed Node.js, you can make sure you've got the most recent version of NPM using npm itself:

$ sudo npm install npm -g

(On Windows, you can drop sudo, but you should run it as administrator). Running this update will give you the most recent stable version of npm, also supported by NPM Inc.

So, we got Node.js and NPM installed. Let's install PhoneGap now. Open your command line and run the following command:

$ sudo npm install -g phonegap

Once the installation completes, you can invoke phonegap on the command line for further help. However, before that, let's understand how PhoneGap is organized.

主站蜘蛛池模板: 彭水| 金山区| 澄城县| 安顺市| 洛川县| 鲁甸县| 定边县| 靖远县| 子长县| 越西县| 策勒县| 出国| 池州市| 神池县| 库车县| 石城县| 沂源县| 淄博市| 安平县| 千阳县| 韶山市| 太湖县| 随州市| 涞源县| 泗水县| 宁蒗| 阳信县| 沙坪坝区| 深圳市| 祁连县| 武城县| 邵阳县| 黔东| 安国市| 霞浦县| 姚安县| 额敏县| 沙坪坝区| 关岭| 新兴县| 汉中市|