Maxmudjon post at 2017-2-21 20:46:27

how to install Node JS for Orange Pi PC Plus ?

how to install Node JS for Orange Pi PC Plus ? please help

thanh_tan post at 2017-11-11 00:43:47

This is more simple

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
apt-get install nodejs -y

dtison post at 2017-8-11 11:25:22

Use nvm.

https://github.com/creationix/nvm

jeanlescure post at 2023-3-24 02:34:22

Definitely agree with@dtison on using nvm. It saved me a lot of time while looking for the perfect combination of Node.js version and library to control GPIO (the only library I got that works with my Orange Pi R1's GPIO only works with Node.js v8, but being able to run Node.js v16 for the HTTP server on a separate SSH session is great).

zyen77 post at 2023-9-11 17:49:06

It's very easy to install Nord.js onOrange Pi PC Plus, You can follow the steps below:
1. Prepare Your Orange Pi PC Plus:
2. Update Package List: (sudo apt-get update)
3. Install Node.js Using NodeSource:
# Install curl (if not already installed)
sudo apt-get install curl

# Add the NodeSource repository for Node.js
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -

# Install Node.js and npm
sudo apt-get install -y nodejs

4. Verify Installation:
node -v
npm -v



That's it! Now You are done. For ex I ahve also build a project using Nord here: Tool

Hope this guide will help you lots.:)
page: [1]
View full version: how to install Node JS for Orange Pi PC Plus ?