CLI Reference

CLI Reference

Complete documentation for the Nimbus command-line interface. Run, debug, and build your applications.


Overview

The nimbus executable is your entry point for all operations. It must be in your system PATH.

Usage
nimbus <command> [options]
CommandDescription
runExecute an application normally.
devRun with DevTools and Hot Reload enabled.
buildCompile the application to a standalone EXE.
newCreate a new project from a template.
--versionDisplay the installed version.
--helpShow help information.

nimbus run

Starts the application in production mode. No debug logs or hot reload.

nimbus run App.xml

If you don't specify a file, it looks for nimbus.json or App.xml in the current folder.


nimbus dev

Starts the application in development mode. This enables:

  • Hot Reload: UI updates on file save.
  • DevTools Server: Accessible at http://localhost:9222.
  • Console Logs: Output visible in terminal.
nimbus dev App.xml [options]

Options

FlagDescription
-p, --port <number>Set DevTools HTTP port (default: 9222).
--no-debugDisable interactive console (useful for scripts).

Examples

nimbus dev App.xml --port 8080

nimbus build

Compiles your project into a single, dependency-free executable.

nimbus build App.xml [options]

Options

FlagDescription
-o, --output <dir>Output directory (default: ./build).
-n, --name <name>Name of the executable (e.g., MyApp).
-i, --icon <path>Application icon (.ico file).
--consoleKeep console window visible (for debugging).
--compressOptimize binary size (removes debug symbols).

Examples

nimbus build App.xml -o ./dist -n Calculator --icon icon.ico

nimbus new

Creates a new project folder with starter files.

nimbus new <ProjectName> [template]

Templates

NameDescription
defaultBasic Hello World app (default).
calculatorA fully functional calculator.
todoTodo list application.

Examples

# Create basic app
nimbus new MyAwesomeApp

# Create calculator
nimbus new MyCalc calculator