[2024 Guide] Install Node.js on macOS

Ning KuangNing Kuang
1 min read
brew install fnm
echo 'eval "$(fnm env --use-on-cd --shell zsh)"' >> ~/.zshrc
source ~/.zshrc
fnm install lts/Iron
corepack enable
1
Subscribe to my newsletter

Read articles from Ning Kuang directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Ning Kuang
Ning Kuang