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