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

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

代码示例2
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 "/"