ionic cli install code example Example 1: ionic cli $ npm install -g @ionic/cli Example 2: ionic install npm install -g @ionic/cli