Angular 6 Node.js & TypeScript Requirements
Angular 6 needs Node.js ^8.9.0 and TypeScript >=2.7.2 <3.0.0 on its latest release. Enter your versions to check them.
Your project
Find it with ng version
Find it with node -v
Find it with npx tsc -v
Find it with npm ls rxjs
Angular 6.1.x requirements
No longer supported: no fixes or security patches. Plan an upgrade.
| Needs | Supported range | Recommended |
|---|---|---|
| Node.js | ^8.9.0 | Node 8 LTS (8.9.0+) |
| TypeScript | >=2.7.2 <3.0.0 | TypeScript 2.9 |
| RxJS | ^6.0.0 | RxJS ^6.0.0 |
Every Node.js line that Angular 6.1.x supports has reached end of life (Node 8 ended 2019-12-31). Upgrading Angular is the only way back to a supported Node.js.
8"engines": {
"node": "^8.9.0"
}npm install --save-dev typescript@~2.9.0
npm install rxjs@^6.0.0Moving up? Angular 6 → 7 upgrade plan · All Angular 6 requirements
Angular 6 Version Requirements
Angular 6 supports Node.js ^8.9.0, TypeScript ~2.7.2 (6.0) to >=2.7.2 <3.0.0 (latest 6.x), and RxJS ^6.0.0. For a new setup, use Node 8 and TypeScript 2.9. Note that every Node.js line Angular 6 supports has reached end of life (Node 8 ended 2019-12-31), so upgrading Angular is the only way to a supported Node.js.
| Angular | Node.js | TypeScript | RxJS | Support |
|---|---|---|---|---|
| 6.1.x | ^8.9.0 | >=2.7.2 <3.0.0 | ^6.0.0 | End of life |
| 6.0.x | ^8.9.0 | ~2.7.2 | ^6.0.0 | End of life |
Frequently Asked Questions
- Which Node.js version does Angular 6 need?
- Angular 6 supports Node.js ^8.9.0. Use Node 8 (8.9.0 or newer).
- Which TypeScript version does Angular 6 need?
- Angular 6 needs TypeScript ~2.7.2 (6.0) to >=2.7.2 <3.0.0 (latest 6.x). On the latest 6.x release, install TypeScript 2.9.
- Is Angular 6 still supported?
- No. Angular 6 is past its long-term support window and no longer receives fixes or security patches. Angular 22 is the current version.
Related
Sources
Checked against Angular's official compatibility table and support schedule. Last reviewed .