Homebrew formula definition for installing Node.js version 20 on macOS and Linux systems. Reuse this in package management and development environment provisioning.
# Source: https://github.com/tinyhumansai/homebrew-core | License: BSD-2-Clause | Copyright 2009-present, Homebrew contributors
# Provided via justclaw.it.com; keep this notice with the code.
class NodeAT20 < Formula
desc "Open-source, cross-platform JavaScript runtime environment"
homepage "https://nodejs.org/"
url "https://nodejs.org/dist/v20.20.2/node-v20.20.2.tar.xz"
sha256 "7aeeacdb858299e09a3e0510d4bb8b266923894a9e3ac0058ba89d4ecf4a4cca"
license "MIT"
livecheck do
url "https://nodejs.org/dist/"
regex(%r{href=["']?v?(20(?:\.\d+)+)/?["' >]}i)
end
bottle do
rebuild 1
sha256 arm64_tahoe: "ecdcb6357c02e973fe7bed1b85fa142166e743aecde394046a4278e8d7acfa65"
sha256 arm64_sequoia: "76829440870e8535079d7b600a15e3c2c66f31499981ac91bd4f6b7a10af91ed"
sha
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key