loading...

Neutralinojs: Get started with cli

ajeebkp23 profile image Ajeeb.K.P ・1 min read

build-things-with-Neutralinojs (2 Part Series)

1) Neutralinojs: For lightweight, crossplatform applications 2) Neutralinojs: Get started with cli

Introduction

In this article, you will learn the basics of using cli for creating a Neutralinojs.

Installation

Assuming Node.js, npm installed (I suggest, https://github.com/creationix/nvm, if you didn't install it already.).

npm i -g @neutralinojs/neu

The commands

The Scaffolding command (js templates)
neu create myapp --template js

Where myapp is folder will be created.

Build command
cd my app && neu build

After running, various executable will be available in the folder.

Other scaffold templates

  • ts
  • kotlin
  • angularjs

I tried all the scaffold. And neu build worked like a charm.

To be frank, I was surprised, since I don't have ts/kotlin installed. Still new build succeeded.

How does it work ? If any one know why, please comment below.

Summary

Neutralinojs got a simple to use cli. Even though it's quite limited. We can expect a more flexible and feature-rich one in future.

Reference

https://neutralino.js.org/docs/#/tools/cli

build-things-with-Neutralinojs (2 Part Series)

1) Neutralinojs: For lightweight, crossplatform applications 2) Neutralinojs: Get started with cli

Posted on by:

ajeebkp23 profile

Ajeeb.K.P

@ajeebkp23

Muslim, Husband, Programmer, Indian/Kerala. Speaks English, Malayalam. Always curious about technology, computing etc.

Discussion

markdown guide