CLI

The Nijor CLI (Command Line Interface) is a powerful tool that allows you to create, manage, and build Nijor projects directly from your terminal. The CLI is designed to be user-friendly and efficient, enabling developers to quickly set up new projects, compile code, and run development servers without the need for complex configurations.

nijor create

The nijor create command creates a new folder and generates some boilerplate code. To create a new Nijor project, type the following commands. (Write your project's name instead of {Appname} )

nijor create {AppName}
cd {AppName}

nijor serve

The nijor serve command runs a development server for the Nijor Project.

nijor serve

nijor compile

The nijor compile command compiles the all the *.nijor files to browser readable JS and CSS code.

nijor compile
To watch for changes, type
nijor compile -w

nijor build

The nijor build command is very similar to thenijor compile command. The only differnce between the 2 is that nijor build minifies the JS code.

nijor build