Live share IDEs and coding sessions.

Checking and Updating the Angular Version

Angular has a major release every 6 months. Major releases are supported for 18 months, so you will likely need to update your Angular version at some point. When updating to a different major release, some steps are typically required by the developer.

Exceptional Angular support is included in MyEclipse.

Checking the Angular Version

There are a couple of ways to ascertain the version of Angular you are currently using.

  • Open the Terminal + view in your project and type ng version. For recent versions of Angular, this will list the versions of several Angular packages that you have installed in your project.

    Terminal+ View

  • Open the package.json file and examine the Angular packages referenced in your project.

Updating the Angular Version

Because major releases contain significant changes, some steps are typically required when updating to a new major version of Angular. You may need to run update scripts, refactor code, run additional tests, and learn new APIs. The Angular website includes an interactive Angular Update Guide that lets you input your project specifics, and then produces a detailed list of instructions.

Note: If you are updating from one major version to another, it is recommended that you don’t skip major versions. Follow the instructions to incrementally update to the next major version, testing and validating at each step.

Angular Update Guide