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

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
主站蜘蛛池模板: 桃源县| 于都县| 淄博市| 德庆县| 澳门| 正安县| 广饶县| 桃园市| 大关县| 胶州市| 建宁县| 蓝田县| 三原县| 高阳县| 蓬安县| 常德市| 澄迈县| 新竹市| 英吉沙县| 商丘市| 辰溪县| 磐安县| 上蔡县| 新泰市| 旬阳县| 巴彦县| 公安县| 泸溪县| 阿克陶县| 阿坝县| 呼和浩特市| 北碚区| 潍坊市| 呈贡县| 秦安县| 蒙自县| 肃南| 满洲里市| 长泰县| 贵溪市| 阜新市|