sudo apt-get install curl

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash(写这篇文章的时候nvm的版本是0.33.6)

重启终端(或者是source .bashrc)

nvm install node

这样就可以安装好nodejs了

相关文章:

  • 2022-12-23
  • 2021-06-12
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
  • 2021-06-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2021-07-29
  • 2022-12-23
相关资源
相似解决方案