If you try to install ionic you need to first install node.js. And then install cordova by this command:-
$ sudo npm install -g cordova
Now install ionic by this command:-
$ sudo npm install -g ionic
After it’s installation you have to create project. So just use this command for ionic-v1:-
$ ionic start todo blank –type ionic1
Question and answer is powered by AnsPress.io