Skip to main content

Using the CLI

Every command follows the same shape:
Most commands accept -d, --directory <directory> to set the working directory and -c, --config <config> to point at a specific configuration file. Run any command with --help to see its full option list:

Available commands

new

Scaffold a brand new NanoForge project.

dev

Run your project in development mode with watching.

build

Compile your client and server for production.

start

Serve a built project, optionally over HTTPS.

generate

Generate project files from your configuration.

create

Create a single component or system.

install / add

Add components, systems, or libraries from the registry.

editor

Launch the NanoForge visual editor.

registry

Authenticate, publish, and unpublish packages.