📜  树莓派安装节点 js - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:24.531000             🧑  作者: Mango

代码示例1
//Doing this regularly will keep your Raspberry Pi installation up to date.

  //add store
    curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
  //install node
    sudo apt install -y nodejs
  //check version
    node -v
    //or
    node --version