Module 1: Install Ionic

In this module, you install the Ionic Framework and Cordova using npm (the Node Package Manager).

Steps

  1. Make sure you have an up-to-date version of Node.js installed on your system. If you don't have Node.js installed, you can install it from here.

  2. Open a terminal window (Mac) or a command window (Windows), and install Cordova and Ionic:

    npm install -g cordova ionic
    

    On a Mac, you may have to use sudo depending on your system configuration:

    sudo npm install -g cordova ionic
    
  3. If you already have Cordova and Ionic installed on your computer, make sure you update to the latest version:

    npm update -g cordova ionic
    

    or

    sudo npm update -g cordova ionic
    

comments powered by Disqus