Question –

I started using ionic without the cli and have built an app with ionic/cordova.

How can I add the ionic cli to this existing project?

Solution –

  • First Install Nodejs if you haven’t
  • You can verify whether you have nodejs by typing node
  • Than install cordova and ionic globally by typing this command in cmd or terminal
    npm install -g cordova ionic If you get error than verify that you have npm installed.
  • You have ionic installed
  • Now open cmd/terminal navigate to your project and type ionic