1, first install nodejs:https://nodejs.org/en/download/
2. Administrator Run command: NPM install-g cnpm--registry=https://registry.npm.taobao.org
(This is a domestic image to solve the problem of slow installation)
3. Cnpm-v to see if the installation was successful
4, CNPM install-g [email protected]
(Just the CNPM image is not going to work like NPM.)
5, if you want to ionic create a directory by default use of the domestic mirror, to configure the open node directory inside the NODE_MODULES\NPM\NPMRC
I'm here C:\Program FILES\NODEJS\NODE_MODULES\NPM\NPMRC use Notepad to open the following add
Registry = http://registry.cnpmjs.org
Ok (if WIN10 or WIN8 permissions can not be modified to drag out the desktop and then drag back)
6, Ionic start demo--v2
(Create a project named demo)
7. Add Android Platform
Ionic Platform Add Android
Detailed installation steps under 1.ionic New version 2.0beta36 window (more than 1 official version)