node

Install command:
brew install node

Also known as: node.js, node@26, nodejs, npm

Open-source, cross-platform JavaScript runtime environment

https://nodejs.org/

License: MIT

Development: Pull requests

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

Formula code: node.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 26.5.0
head ⚡️ HEAD

Other versions:

node@24 24.18.0 Open-source, cross-platform JavaScript runtime environment
node@22 22.23.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

Depends on:

ada-url 3.4.4 WHATWG-compliant and fast URL parser written in modern C++
brotli 1.2.0 Generic-purpose lossless compression algorithm by Google
c-ares 1.34.8 Asynchronous DNS library
hdrhistogram_c 0.11.10 C port of the HdrHistogram
icu4c@78 78.3 C/C++ and Java libraries for Unicode and globalization
libffi 3.7.1 Portable Foreign Function Interface library
libnghttp2 1.69.0 HTTP/2 C Library
libnghttp3 1.17.0 HTTP/3 library written in C
libngtcp2 1.24.0 IETF QUIC protocol implementation
libuv 1.52.1 Multi-platform support library with a focus on asynchronous I/O
llhttp 9.4.2 Port of http_parser to llparse
merve 1.2.2 C++ lexer for extracting named exports from CommonJS modules
nbytes 0.1.4 Library of byte handling functions extracted from Node.js core
openssl@3 3.6.3 Cryptography and SSL/TLS Toolkit
simdjson 4.6.4 SIMD-accelerated C++ JSON parser
sqlite 3.53.3 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.3 Package compiler and linker metadata toolkit
python@3.14 3.14.6 Interpreted, interactive, object-oriented programming language
Single Executable Application is disabled as it doesn't work with shared libnode.
Temporal support is disabled as it doesn't work with shared ICU library.

Analytics:

Installs (30 days)
node 288,182
node --HEAD 403
Installs on Request (30 days)
node 232,524
node --HEAD 403
Build Errors (30 days)
node 328
node --HEAD 1
Installs (90 days)
node 795,871
node --HEAD 1,237
Installs on Request (90 days)
node 639,144
node --HEAD 1,237
Installs (365 days)
node 3,123,805
node --HEAD 5,390
Installs on Request (365 days)
node 2,517,805
node --HEAD 5,387