当前位置:   article > 正文

How to install nodejs 18.x in Ubuntu 22.04_ubuntu22.04安装nodejs18

ubuntu22.04安装nodejs18
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/nodesource.gpg
  • 1
sudo tee /etc/apt/sources.list.d/nodesource.list <<-'EOF'
deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
EOF
  • 1
  • 2
  • 3
apt update
  • 1
apt install nodejs
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/594850
推荐阅读
相关标签
  

闽ICP备14008679号