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

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.

主站蜘蛛池模板: 小金县| 涡阳县| 南涧| 汤原县| 昌乐县| 综艺| 绥芬河市| 灌云县| 平遥县| 台东县| 邹平县| 神农架林区| 大姚县| 沁水县| 从化市| 嫩江县| 钟祥市| 高碑店市| 大姚县| 普兰县| 神木县| 治多县| 中西区| 略阳县| 楚雄市| 和龙市| 宣城市| 台山市| 慈溪市| 齐齐哈尔市| 永靖县| 水富县| 余江县| 和硕县| 孝义市| 广平县| 陆川县| 蒙城县| 封开县| 酒泉市| 峨山|