Search code examples
ionic-frameworkionic5

Update ionic/angular from 5.0.0 to 5.7.0 Potassium


Currently my Ionic is running on "@ionic/angular": "^5.0.0". ionic -v is 6.17.1. I can't find a way in the documents to update my ionic to 5.7.0 Potassium.

The following did not work:

npm install -g @ionic/cli@latest

Solution

  • try npm update in your project root to update all dependencies.

    if you just want to update ionic/angular or just a single module.

    try: npm i @ionic/angular@latest