Is there a compatibility list for Angular / Angular-CLI and Node.js?

 

Is there a compatibility list for Angular / Angular-CLI and Node.js?

Yes, there is a compatibility matrix that indicates which versions of Node.js are compatible with specific versions of Angular and Angular CLI. While Angular itself doesn't directly maintain a formal compatibility matrix, the official Angular documentation and release notes provide guidance on which versions of Node.js are recommended or supported for each version of Angular.

Here’s a general compatibility guideline based on the official Angular documentation and past release notes:

  1. Angular 15.x.x

    • Recommended Node.js version: 16.x.x or 18.x.x
    • Angular CLI: Same as Angular version compatibility.
  2. Angular 14.x.x

    • Recommended Node.js version: 14.x.x or 16.x.x
    • Angular CLI: Same as Angular version compatibility.
  3. Angular 13.x.x

    • Recommended Node.js version: 14.x.x or 16.x.x
    • Angular CLI: Same as Angular version compatibility.
  4. Angular 12.x.x

    • Recommended Node.js version: 12.x.x or 14.x.x
    • Angular CLI: Same as Angular version compatibility.
  5. Angular 11.x.x

    • Recommended Node.js version: 12.x.x or 14.x.x
    • Angular CLI: Same as Angular version compatibility.
  6. Angular 10.x.x

    • Recommended Node.js version: 12.x.x or 14.x.x
    • Angular CLI: Same as Angular version compatibility.

Node.js Versions Supported by Angular

  • Angular CLI tends to support Node.js versions that are actively maintained by Node.js, generally covering the LTS (Long-Term Support) versions. At the time of writing (January 2025), Node.js 18.x.x is the current LTS version, with Node.js 16.x.x still supported but nearing its end-of-life.

Where to Check Compatibility

To always get the most accurate and up-to-date compatibility details, you can refer to:

  • Angular release notes: They will indicate the Node.js versions that are officially supported with each Angular version.
  • Angular documentation: Especially for the CLI setup, they will list the required and supported Node.js versions for building and serving your Angular applications.

Additionally, the Angular CLI itself has a ng --version command that provides information on your current environment, including the Node.js version it’s compatible with.

If you have a specific version of Angular or Node.js in mind, I can help you verify the exact compatibility!

Angular CLI versionAngular versionNode.js versionTypeScript versionRxJS version
19.0.x19.0.x^18.19.1 || ^20.11.1 || ^22.0.0>=5.5.0 <5.7.0^6.5.3 || ^7.4.0
18.1.x || 18.2.x18.1.x || 18.2.x^18.19.1 || ^20.11.1 || ^22.0.0>=5.4.0 <5.6.0^6.5.3
18.0.x18.0.x^18.19.1 || ^20.11.1 || ^22.0.0>=5.4.0 <5.5.0^6.5.3 | ^7.4.0
17.3.x17.0.x^18.13.0 || ^20.9.0>=5.2.0 <5.5.0^6.5.3 || ^7.4.0
17.1.x||17.2.x17.0.x^18.13.0 || ^20.9.0>=5.2.0 <5.4.0^6.5.3 || ^7.4.0
17.0.x17.0.x^18.13.0 || ^20.9.0>=4.9.3 <5.3.0^6.5.3 || ^7.4.0
~16.2.6~16.2.10^16.14.0 || ^18.10.0>=4.9.3 <5.2.0^6.5.5 || ^7.4.0
~16.1.0~16.1.0^16.13.0 || ^18.10.0>=4.9.3 <5.1.0^6.5.5 || ^7.4.0
~16.0.0~16.0.0^16.13.0 || ^18.10.0>=4.9.3 <5.1.0^6.5.5 || ^7.4.0
~15.2.0~15.2.0^14.20.0 || ^16.13.0 || ^18.10.0>=4.8.2 <5.0.0^6.5.5 || ^7.4.0
~15.1.0~15.1.0,^14.20.0 || ^16.13.0 || ^18.10.0>=4.8.4 <5.0.0^6.5.5 || ^7.4.0
~15.0.5~15.0.4^14.20.0 || ^16.13.0 || ^18.10.0~4.8.4^6.5.5 || ^7.4.0
~15.0.0~15.0.0^14.20.0 || ^16.13.0 || ^18.10.0~4.8.4^6.5.5 || ^7.4.0
~14.2.0~14.2.0^14.15.0 || ^16.10.0>= 4.6.4 < 4.9.0^6.5.5 || ^7.4.0
~14.1.3~14.1.3^14.15.0 || ^16.10.0>= 4.6.4 < 4.8.0^6.5.5 || ^7.4.0
~14.0.7~14.0.7^14.15.0 || ^16.10.0>= 4.6.4 < 4.8.0^6.5.5 || ^7.4.0
~13.3.0~13.3.0^12.20.2 || ^14.15.0 || ^16.10.0>= 4.4.4 < 4.7.0^6.5.5 || ^7.4.0
~13.2.6~13.2.7^12.20.2 || ^14.15.0 || ^16.10.0>= 4.4.4 <= 4.5.5^6.5.5 || ^7.4.0
~13.1.4~13.1.3^12.20.2 || ^14.15.0 || ^16.10.0>= 4.4.4 <= 4.5.5^6.5.5 || ^7.4.0
~13.0.4~13.0.3^12.20.2 || ^14.15.0 || ^16.10.0~4.4.4^6.5.5 || ^7.4.0
~12.2.18~12.2.17^12.14.1 || ^14.15.0>= 4.2.4 <= 4.3.5^6.5.5 || ^7.0.1
~12.1.4~12.1.5^12.14.1 || ^14.15.0>= 4.2.4 <= 4.3.5^6.5.5
~12.0.5~12.0.5^12.14.1 || ^14.15.0~4.2.4^6.5.5
~11.2.19~11.2.14^10.13.0 || ^12.11.1>= 4.0.8 <= 4.1.6^6.5.5
~11.1.4~11.1.2^10.13.0 || ^12.11.1>= 4.0.8 <= 4.1.6^6.5.5
~11.0.7~11.0.9^10.13.0 || ^12.11.1~4.0.8^6.5.5
~10.2.4~10.2.5^10.13.0 || ^12.11.1>= 3.9.4 <= 4.0.8^6.5.5
~10.1.7~10.1.6^10.13.0 || ^12.11.1>= 3.9.4 <= 4.0.8^6.5.5
~10.0.8~10.0.14^10.13.0 || ^12.11.1~3.9.4^6.5.5
~9.1.15~9.1.13^10.13.0 || ^12.11.1>= 3.6.5 <= 3.8.3^6.5.5
~9.0.7~9.0.7^10.13.0 || ^12.11.1>= 3.6.5 <= 3.7.7^6.5.5
~8.3.29~8.2.14^10.9.0~3.5.3^6.4.0
~8.2.2~8.2.14^10.9.0~3.4.5^6.4.0
~8.1.3~8.1.3^10.9.0~3.4.5^6.4.0
~8.0.6~8.0.3^10.9.0~3.4.5^6.4.0
~7.3.9~7.2.15^8.9.4 || ^10.9.0~3.2.4^6.3.3
~7.2.4~7.2.15^8.9.4 || ^10.9.0~3.2.4^6.3.3
~7.1.4~7.1.4^8.9.4 || ^10.9.0~3.1.6^6.3.3
~7.0.7~7.0.4^8.9.4 || ^10.9.0~3.1.6^6.3.3
~6.2.9~6.1.10^8.9.4~2.9.2^6.2.2
~6.1.5~6.1.10^8.9.4~2.7.2^6.2.2
~6.0.8~6.0.9^8.9.4~2.7.2^6.0.0
~1.7.4~5.2.11^6.9.5 || ^8.9.4~2.5.3<= 5.5.12 < 6.0.0
~1.6.7~5.2.11^6.9.5 || ^8.9.4~2.5.3<= 5.5.12 < 6.0.0
~1.5.6>= 5.0.5 <= 5.1.3^6.9.5 || ^8.9.4>= 2.4.2 <= 2.5.3<= 5.5.12 < 6.0.0
~1.4.10>= 4.2.6 <= 4.4.7^6.9.5 || ^8.9.4~2.4.2^5.0.3
~1.3.2>= 4.2.6 <= 4.4.7^6.9.5~2.4.2^5.0.3
~1.2.7>= 4.0.3 <= 4.1.3^6.9.5~2.3.4^5.0.3
~1.1.3>= 4.0.3 <= 4.1.3^6.9.5~2.3.4^5.0.3
~1.0.6>= 4.0.3 <= 4.1.3^6.9.5~2.2.2^5.0.3
1.0.0-rc.4~2.4.10^6.9.5~2.0.10^5.0.3
1.0.0-beta.30~2.3.1^6.9.5~2.0.10^5.0.3
1.0.0-beta.22-1 (package name: angular-cli)~2.2.4^6.9.5~2.0.10^5.0.3
1.0.0-beta.20-1 (package name: angular-cli)~2.1.2^6.9.5~2.0.10^5.0.3
1.0.0-beta.17 (package name: angular-cli)~2.0.2^6.9.5~2.0.10^5.0.3


Comments

Popular posts from this blog

Error when trying to inject a service into an angular component "EXCEPTION: Can't resolve all parameters for component", why?

How to resolve CORS issue in Angular 12?