What is the NanoForge CLI?
The NanoForge CLI (nf) is the main entry point for building, running, and deploying games made
with NanoForge - a powerful game engine for the web browser.
It wraps every step of the development lifecycle behind a single command: scaffolding a new project,
generating ECS components and systems, running your game in development mode, building for
production, and publishing reusable packages to the NanoForge registry.
What can it do?
Scaffold projects
Create a fully configured project - client, optional server, linting, and Docker - in one
command.
Develop & run
Run your game locally with hot reloading, then start it as you would in production.
Generate code
Generate components, systems, and entry files from your configuration.
Share packages
Publish and consume components, systems, and libraries through the NanoForge registry.
Where to go next
- New to NanoForge? Start with Installation then the Quickstart.
- Looking for a specific flag? See the Commands reference.
- Want a task-oriented walkthrough? Browse the Guides.