node@22 (deprecated)

Disable date: 2027-10-30

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
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 22.23.4

Other versions:

node@24 24.22.2 Open-source, cross-platform JavaScript runtime environment
node@20 20.20.2 Open-source, cross-platform JavaScript runtime environment

Revision: 2

Keg-only because this is an alternate version of another formula.

Depends on:

brotli 1.2.1 Generic-purpose lossless compression algorithm by Google
c-ares 1.34.9 Asynchronous DNS library
icu4c@78 78.3 C/C++ and Java libraries for Unicode and globalization
libnghttp2 1.71.0 HTTP/2 C Library
libnghttp3 1.19.0 HTTP/3 library written in C
libuv 1.53.0 Multi-platform support library with a focus on asynchronous I/O
openssl@3 3.5.9 Cryptography and SSL/TLS Toolkit
simdjson 5.1.1 SIMD-accelerated C++ JSON parser
sqlite 3.54.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 3.0.10 Package compiler and linker metadata toolkit
python@3.13 3.13.18 Interpreted, interactive, object-oriented programming language

Uses from macOS: python

Binaries: corepack, node, npm, npx

GitHub Packages downloads:

Last 30 days321,498
Downloads3,025,418
Analytics install events (30 days)26,416
Downloads / install events (30 days)12.2×

Source: GitHub Packages, fetched 2026-11-08T00:52:43Z. Analytics dates: 2026-10-09 to 2026-11-08. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs26,37367,296368,313
Installs (--HEAD)43108589
Installs on Request25,30865,090357,033
Installs on Request (--HEAD)43108589
Build Errors140