Node.js for Mac
Node 22, pnpm, Bun, and local databases for web development.
Node.js development tools
$(...) captures the download in script. && runs Bash only if the download succeeds. Nothing runs while the download is in progress.
The outer parentheses keep that variable out of your current shell. This does not verify the downloaded code; use Download before running to inspect it first.
Copy command Open Terminal Paste Run
- Copy command Review, then click Copy.
- Open Terminal Command + Space to open Spotlight Type Terminal, then Return
- Paste Command + V
- Run Return Follow the prompts.
(script="$(curl -fsSL https://maci.sh/install/node.sh)" && /bin/bash -c "$script") Read the script macOS / zsh
Included
- Xcode CLT
- Homebrew
- Git
- Node 22
- pnpm
- Bun
- PostgreSQL 16
- Redis
- VS Code
Download before running
This command downloads the script for inspection. It does not run the installer.
curl -fsSL https://maci.sh/install/node.sh -o macish-node.sh After reviewing the file, run it separately:
bash macish-node.sh Adds Homebrew Node 22 to your zsh PATH and starts PostgreSQL and Redis.
pnpm and Bun are installed through Homebrew.