DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 966,155 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Ajeeb.K.P
Ajeeb.K.P

Posted on

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

Top comments (0)

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.