Skip to main content

Internal CLI Arguments

neu CLI wraps Neutralinojs's internal CLI arguments to provide a simple interface for developers. For example, the neu run command internally calls ./bin/neutralino-linux --load-dir-res --path=. on Linux.

Neutralinojs supports the following CLI arguments. Many internal CLI arguments help developers to override default configuration defined inside the neutralino.config.json file.


Notifies Neutralinojs server to fetch files from the resources directory.


If Neutralinojs fails to load resources res.neu, this flag is automatically enabled internally to find resources from the app directory. Therefore, you can double click on the binary instead of neu run while developing apps.


Overrides the resources path with a relative path or absolute path. This will change the NL_PATH global variable.


Overrides the default mode. Accepted values are: window, browser, and cloud.


Starts the development server on port 5050. When the development server is enabled, each modification done to the resources will automatically reload the application. The neu listen command executes Neutralinojs with this flag.


Overrides the URL on the application.


Overrides the window title.


Overrides the window icon.


Overrides the window's initial full screen status.


Overrides the window's initial top-most mode.


Overrides the window's borderless mode.


Overrides the window's initial maximize status.


Overrides the window's initial visibility status.


Overrides the window's initial maximizable status.


Overrides the window width.


Overrides the window height.


Overrides the window's minimum width.


Overrides the window's minimum height.


Overrides the window's maximum width.


Overrides the window's maximum height.


Overrides the window's initial resizability status.


The right hand value is optinal for the for boolean type CLI arguments. Therefore, you can use --window-full-screen instead of --window-full-screen=true. However, if you define window.fullScreen as true and you need to override it as false you have to use --window-full-screen=false.