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

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
主站蜘蛛池模板: 高雄市| 于都县| 罗甸县| 天水市| 峨边| 沅陵县| 江山市| 抚宁县| 菏泽市| 清河县| 平远县| 花莲县| 镇赉县| 康定县| 子长县| 获嘉县| 普洱| 泗洪县| 兴山县| 保山市| 固安县| 佛学| 平乡县| 龙胜| 额尔古纳市| 余江县| 仙游县| 龙海市| 阳信县| 连南| 贡觉县| 泾阳县| 县级市| 苍梧县| 新泰市| 屏东市| 龙陵县| 无棣县| 三都| 云林县| 德格县|