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

Setting up the Ionic framework and Cordova for Mac OS X

After installing Node.js on your Mac, proceed to open your command-line application and input the following command:

$ sudonpm install -g ionic

After inputting this command, you will be prompted to input your password as shown in the following screenshot:

Setting up the Ionic framework and Cordova for Mac OS X

If you have already set up the permissions for npm on OS X, you can install Ionic with the following command:

$ npm install -g ionic

The preceding command line should result in the following output:

Setting up the Ionic framework and Cordova for Mac OS X

Installing Cordova on OS X is very similar to installing Ionic. You can run the following command to install Cordova:

$ sudonpm install -g cordova
主站蜘蛛池模板: 牟定县| 晴隆县| 若羌县| 抚远县| 建阳市| 九寨沟县| 浦东新区| 汉源县| 望城县| 玉溪市| 黄骅市| 乌海市| 阜康市| 鹤岗市| 玛沁县| 肇源县| 同德县| 山西省| 贡嘎县| 都匀市| 长阳| 汝阳县| 南木林县| 花莲市| 来凤县| 田阳县| 望城县| 睢宁县| 怀来县| 宜州市| 门头沟区| 渭源县| 鹰潭市| 兴文县| 宜州市| 通渭县| 罗田县| 临海市| 永安市| 美姑县| 诸暨市|