Skip to main content

CLI commands

The @nessframework/cli package provides application creation, package management, code generation, development, builds, production, and diagnostics through the ness executable.

ness --help
ness <command> --help
ness --version

Application lifecycle​

CommandPurpose
ness newCreate an application from a template
ness devStart the development server
ness buildCreate optimized production bundles
ness startServe an existing production build

Code and routes​

CommandPurpose
ness generateGenerate routes and application modules
ness typegenGenerate route types
ness routesPrint the discovered route tree
ness revealMaterialize a framework entry module

Package management​

CommandPurpose
ness addInstall an official plugin or another package
ness removeUninstall a package
ness updateUpdate installed @nessframework/* packages

Project utilities​

CommandPurpose
ness cleanRemove build output and framework caches
ness doctorValidate the current Ness application
ness infoPrint environment and package information

All commands return a non-zero exit code when an operation fails, making them suitable for CI scripts.