ubuntu Debian安装node.js

ubuntu安装node.js

  • 方法:
    如果我们安装的是Node.js v9.x:
  curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
  sudo apt-get install -y nodejs

Debian安装node.js

  • 方法:
    如果我们安装的是Node.js v9.x:
  curl -sL https://deb.nodesource.com/setup_9.x | bash -
  apt-get install -y nodejs

当然如果想要找其他版本的也可以进入:https://github.com/nodesource/distributions。下面也有其他版本以及教程。

你可能感兴趣的:(ubuntu Debian安装node.js)