Running your first 'Hello World' program on LinkIt Smart 7688
Aim
In this section, we are creating the first Hello world program through Node.js.
Steps
- Generate a folder named app
> mkdir app - Edit
app.js> vim app.js In
app.js, pressiand enter the following codes:console.log('Hello world');- Press
ESC, then enterwq!to save and leave. - Enter
node app.jsand the result can be seen as below:> Hello world - Done!