node@22

Deprecation date: 2026-10-28

Install command:
brew install node@22

Open-source, cross-platform JavaScript runtime environment

https://nodejs.org/

License: MIT

Formula JSON API: /api/formula/node@22.json

Formula code: node@22.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 22.21.1

Other versions:

node@24 24.12.0 Open-source, cross-platform JavaScript runtime environment
node@20 20.19.6 Open-source, cross-platform JavaScript runtime environment
node@18 18.20.8 Open-source, cross-platform JavaScript runtime environment

Revision: 4

Keg-only

Depends on:

brotli 1.2.0 Generic-purpose lossless compression algorithm by Google
c-ares 1.34.6 Asynchronous DNS library
icu4c@78 78.1 C/C++ and Java libraries for Unicode and globalization
libnghttp2 1.68.0 HTTP/2 C Library
libnghttp3 1.14.0 HTTP/3 library written in C
libngtcp2 1.19.0 IETF QUIC protocol implementation
libuv 1.51.0 Multi-platform support library with a focus on asynchronous I/O
openssl@3 3.6.0 Cryptography and SSL/TLS Toolkit
simdjson 4.2.4 SIMD-accelerated C++ JSON parser
simdutf 7.7.1 Unicode conversion routines, fast
sqlite 3.51.1 Command-line interface for SQLite
uvwasi 0.0.23 WASI syscall API built atop libuv
zstd 1.5.7 Zstandard is a real-time compression algorithm

Depends on when building from source:

pkgconf 2.5.1 Package compiler and linker metadata toolkit
python@3.13 3.13.11 Interpreted, interactive, object-oriented programming language

Analytics:

Installs (30 days)
node@22 10,604
node@22 --HEAD 8
Installs on Request (30 days)
node@22 10,054
node@22 --HEAD 8
Build Errors (30 days)
node@22 1,632
node@22 --HEAD 1
Installs (90 days)
node@22 48,310
node@22 --HEAD 71
Installs on Request (90 days)
node@22 42,435
node@22 --HEAD 71
Installs (365 days)
node@22 151,115
node@22 --HEAD 275
Installs on Request (365 days)
node@22 131,469
node@22 --HEAD 275