Skip to content

node manage

fnm

bash
# 安装
brew install fnm
# .bashrc 或 .zshrc
eval "$(fnm env --use-on-cd)"
# node lts(Long Term Support 长期支持)
fnm install --lts

参考: