📌  相关文章
📜  如何在 mac 上安装节点 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:14.461000             🧑  作者: Mango

代码示例3
curl "https://nodejs.org/dist/latest/node-${VERSION:-$(wget -qO- https://nodejs.org/dist/latest/ | sed -nE 's|.*>node-(.*)\.pkg.*|\1|p')}.pkg" > "$HOME/Downloads/node-latest.pkg" && sudo installer -store -pkg "$HOME/Downloads/node-latest.pkg" -target "/"