upgrade ionic 4 to 5 code example Example: upgrading ionic 5 npm install @ionic/angular@latest @ionic/angular-toolkit@latest --save