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

Development: Pull requests

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.23.2

Other versions:

node@24 24.18.1 Open-source, cross-platform JavaScript runtime environment
node@20 20.20.2 Open-source, cross-platform JavaScript runtime environment
node@18 18.20.8 Open-source, cross-platform JavaScript runtime environment

Keg-only

Depends on:

brotli 1.2.0 Generic-purpose lossless compression algorithm by Google
c-ares 1.34.8 Asynchronous DNS library
icu4c@78 78.3 C/C++ and Java libraries for Unicode and globalization
libnghttp2 1.70.0 HTTP/2 C Library
libnghttp3 1.18.0 HTTP/3 library written in C
libngtcp2 1.25.0 IETF QUIC protocol implementation
libuv 1.52.1 Multi-platform support library with a focus on asynchronous I/O
openssl@3 3.6.3 Cryptography and SSL/TLS Toolkit
simdjson 4.6.6 SIMD-accelerated C++ JSON parser
simdutf 9.0.0 Unicode conversion routines, fast
sqlite 3.53.4 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 3.0.4 Package compiler and linker metadata toolkit
python@3.13 3.13.14 Interpreted, interactive, object-oriented programming language

Analytics:

Installs (30 days)
node@22 21,135
node@22 --HEAD 24
Installs on Request (30 days)
node@22 20,445
node@22 --HEAD 24
Build Errors (30 days)
node@22 39
Installs (90 days)
node@22 64,287
node@22 --HEAD 75
Installs on Request (90 days)
node@22 61,865
node@22 --HEAD 75
Installs (365 days)
node@22 349,317
node@22 --HEAD 587
Installs on Request (365 days)
node@22 333,516
node@22 --HEAD 587