Installing nodejs

Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient.

This article illustrates how to install nodejs on an Acme Linux Embedded board using Debian Jessie 8.2

Installation steps

~# apt-get update
~# apt-get install nodejs

show the nodejs version by typing:

~# nodejs --version

Hello world !

~# echo "console.log('Hello World !');" | nodejs
Hello World !

Install npm

To install npm type:

~# apt-get install npm

Related links