Install Node.js and Npm on Linux SBC or Raspberry Pi
This is just a quick blog post explaining how you can install the latest version of Node.js in your Linux Single Board Computer (SBC) or Raspberry Pi.
In this example i am using Orange pi zero plus 2 as Linux Single Board Computer to explain.
Steps :
Login in to Orange Pi via ssh using Linux computer or if have windows based system use putty to login. see below picture for SSH login screen.
Commands:
After done nodejs installation type node -v / npm -v and hit enter in the Terminal for verify the nodejs installation and version.
In this example i am using Orange pi zero plus 2 as Linux Single Board Computer to explain.
Steps :
Login in to Orange Pi via ssh using Linux computer or if have windows based system use putty to login. see below picture for SSH login screen.
Commands:
- Type ssh followed by device IP Address. Ex ssh 192.168.1.107
- Type yes and hit enter
- Enter the Device Password and hit Enter
- now you can see logged screen
- Enter the below command for add nodejs 11.x to repository sudo curl -sL https://deb.nodesource.com/setup_11.x | bash -
- Type the below command for install nodejs sudo apt-get install -y nodejs
After done nodejs installation type node -v / npm -v and hit enter in the Terminal for verify the nodejs installation and version.
These websites are really needed, you can learn a lot. http://www.3gapps.de/barcodescan
ReplyDelete