1. Home
  2. Docs
  3. NectarJS
  4. First Compilation

First Compilation

How could you do your first compilation with NectarJS?

Hello World

Compiling a hello world for your platform is simple.

Open your console and follow these steps :

$ echo "console.log('Hello World !');" > hello.jsnectar --run hello.js

Once done, you should see in your console :

Hello World !

That’s all. You compiled JS.

Was this article helpful to you? Yes 1 No

How can we help?