Why default angular version used by ionic-angular starter template is v5 only?

When I create an app with ionic start myApp blank --type=ionic-angular , the package.json dependency file generated show that angular v5 is used, whereas latest angular version is v15.

Naive question: why doesn’t Ionic use a newer version of Angular? Angular 5 is now five years old.

My ionic info reads:


   Ionic CLI          : 6.20.4 (/Users/manu/.nvm/versions/node/v12.22.12/lib/node_modules/@ionic/cli)
   Ionic Framework    : ionic-angular 3.9.9
   @ionic/app-scripts : 3.2.4


   cordova-res : not installed globally
   native-run  : not installed globally


   NodeJS : v12.22.12 (/Users/manu/.nvm/versions/node/v12.22.12/bin/node)
   npm    : 6.14.17
   OS     : macOS Monterey

Here’s an extract from my package.json:

"dependencies": {
    "@angular/animations": "5.2.11",
    "@angular/common": "5.2.11",
    "@angular/compiler": "5.2.11",
    "@angular/compiler-cli": "5.2.11",
    "@angular/core": "5.2.11",
    "@angular/forms": "5.2.11",

Because you have an older version of ionic installed on your system.

Ionic Framework    : ionic-angular 3.9.9

You need to uninstalled and reinstall ionic again. How to Install The Ionic Framework CLI to Build Mobile Apps

In fact I had installed ionic with npm i -g @ionic/cli just before running the starter (cf. its version 6.20.4 which is the latest).

Also, ionic-angular latest version is 3.9.10, so there’s just a one-patch difference between mine and the latest. And ionic-angular is a dep added by ionic start in the generated package.json, I don’t have it installed globally.

If you want to use latest angular, don’t create an ionic-angular app, create an angular app.

ionic-angular is ionic 3.x with the latest angular version it supports. angular type will create an app with ionic 6.x and angular 15.