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

Current versions:

stable 26.8.2
head ⚡️ HEAD

Other versions:

node@24 24.21.0 Open-source, cross-platform JavaScript runtime environment
node@22 22.23.2 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 4.0.0 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.8.0 Portable Foreign Function Interface library
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
llhttp 9.4.3 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.4 Cryptography and SSL/TLS Toolkit
simdjson 4.6.11 SIMD-accelerated C++ JSON parser
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.7 Package compiler and linker metadata toolkit
python@3.14 3.14.7 Interpreted, interactive, object-oriented programming language

Uses from macOS: python

Binaries: node, npm, npx

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:

30 days90 days365 days
Installs147,637729,4503,125,969
Installs (--HEAD)2691,0595,196
Installs on Request117,996588,5192,502,880
Installs on Request (--HEAD)2691,0585,192
Build Errors755
Build Errors (--HEAD)1