Raspberry Pi

手把手教你在Raspberry Pi 3 上安装最新nodejs

2019-02-12  本文已影响5人  hglfNg

所有的debian系通用

Add nodejs repo

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -

Add yarn repo

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

install node and yarn and development tools

sudo apt-get update
sudo apt-get install -y nodejs yarn build-essential
上一篇 下一篇

猜你喜欢

热点阅读