Node.js + OS Compatibility

Node.js version availability and official support status on Ubuntu, Debian, macOS, and Windows. 22 combinations verified against official release notes.

Node.js 22 + Ubuntu 24.04 LTS
Node.js 22 is officially distributed for Ubuntu 24.04 via the NodeSource repository. Insta…
✓ Works
Node.js 22 + Ubuntu 22.04 LTS
Node.js 22 is officially distributed for Ubuntu 22.04 via NodeSource. Use the NodeSource s…
✓ Works
Node.js 20 + Ubuntu 24.04 LTS
Node.js 20 is officially distributed for Ubuntu 24.04 via NodeSource. Node.js 20 is Active…
✓ Works
Node.js 20 + Ubuntu 22.04 LTS
Node.js 20 is officially distributed for Ubuntu 22.04 via NodeSource. Both are long-term s…
✓ Works
Node.js 20 + Ubuntu 20.04 LTS
Node.js 20 is officially distributed for Ubuntu 20.04 via NodeSource. Ubuntu 20.04 (Focal)…
✓ Works
Node.js 18 + Ubuntu 24.04 LTS
Node.js 18 is officially distributed for Ubuntu 24.04 via NodeSource. Node.js 18 LTS ends …
✓ Works
Node.js 18 + Ubuntu 22.04 LTS
Node.js 18 is officially distributed for Ubuntu 22.04 via NodeSource. Both are current LTS…
✓ Works
Node.js 18 + Ubuntu 20.04 LTS
Node.js 18 is officially distributed for Ubuntu 20.04 via NodeSource. Works without issues…
✓ Works
Node.js 18 + macOS 13 (Ventura)
Node.js 18 supports macOS 10.15 (Catalina) and later, on both Intel and Apple Silicon (arm…
✓ Works
Node.js 20 + Windows 11
Node.js 20 officially supports Windows 10 and Windows 11. Download the Windows installer f…
✓ Works
Node.js 18 + Windows 10
Node.js 18 officially supports Windows 10. Download the Windows installer from nodejs.org.…
✓ Works
Node.js 18 + Debian 12 (Bookworm)
Node.js 18 is officially distributed for Debian 12 via NodeSource. Debian 12 (Bookworm) wa…
✓ Works
Node.js 14 + Ubuntu 22.04 LTS
Node.js 14 is EOL (April 2023) and is not available in Ubuntu 22.04's default apt reposito…
⚠ Partial
Node.js 12 + Ubuntu 22.04 LTS
Node.js 12 is EOL (April 2022). It is not available via NodeSource for Ubuntu 22.04. While…
✗ Incompatible
Node.js 22 + macOS 14 (Sonoma)
Node.js 22 runs natively on macOS 14 Sonoma for both Apple Silicon (arm64) and Intel (x86_…
✓ Works
Node.js 22 + Windows 11
Node.js 22 is fully supported on Windows 11 (x64). Install the .msi from nodejs.org or use…
✓ Works
Node.js 22 + Debian 12 (Bookworm)
Debian 12 (Bookworm)'s default apt repository ships Node.js 18, not 22. For Node.js 22, us…
⚠ Partial
Node.js 20 + macOS 14 (Sonoma)
Node.js 20 LTS runs on macOS 14 Sonoma for both Apple Silicon and Intel. Node.js 20.x is A…
✓ Works
Node.js 20 + Debian 12 (Bookworm)
Debian 12's default apt repository includes Node.js 18, not 20. Use the NodeSource `setup_…
⚠ Partial
Node.js 20 + Windows 10
Node.js 20 LTS is fully supported on Windows 10 (x64). Node.js 20 requires Windows 10 or l…
✓ Works
Node.js 22 + Alpine Linux (musl)
Alpine Linux uses musl libc instead of glibc, which breaks native Node.js modules compiled…
⚠ Partial
Node.js 20 + Alpine Linux (musl)
Node.js 20 on Alpine has the same musl libc limitation as Node.js 22. The official `node:2…
⚠ Partial