Skip to content

CLI command reference

This page describes the CLI 1.x command families. The installed version’s fz --help, fz init --help, fz dev --help and fz mcp --help are the exact reference for that installation. Use CLI for a first terminal session.

CommandPurpose
fz versionShow installed version information
fz initCreate a new project from a template
fz templates listList available project templates
fz devStart or attach to this project’s development environment
fz mcpLaunch the MCP stdio connection for an agent client
fz upgradeUpgrade a directly installed CLI; prefer the package manager for managed installations
fz init optionMeaning
--nameProject name
--template, --template-pathNamed template, or local template directory/ZIP
--dirParent directory for the named project
--in-placeGenerate directly in the target directory; inspect existing contents first
--package, --group-id, --artifact-idPackage and build coordinates
--buildmaven or gradle
--application-idApplication identifier for package publishing
--gitInitialize a Git repository for the generated project
ActionEffect
fz dev startStart/reuse the current project’s environment; default action
fz dev listList known environments across projects
fz dev statusRead current project status
fz dev attachAttach the live terminal view
fz dev logsRead recent logs; --follow streams them, --errors narrows them
fz dev configPrint the version-aligned .fluxzero/dev.yaml reference
fz dev restartReinitialize the full environment and managed processes
fz dev stopStop the targeted environment
fz dev check-updateInspect compatible Dev Server update availability
fz dev prepare-updatePrepare an update for the selected version; use the installed help for its required inputs
OptionMeaning
--project-dirExplicit project directory
--profileNamed profile from .fluxzero/dev.yaml
--appApplication/module selection; repeatable
--backgroundStart detached from the terminal view
--jsonMachine-readable status/list output
--portPreferred gateway port; otherwise allocated dynamically
--frontend-urlUse an externally managed frontend
--frontend-command, --frontend-directoryStart a managed frontend command in its directory
--idpManaged or external identity provider
--no-tests, --no-watchDisable automatic tests or source watching for this invocation
--dev-server-versionOverride the selected server distribution
--idle-timeoutConfigure inactivity shutdown
--forceForce termination for stop/restart
--allWith stop, target all registered environments rather than one project

Shared defaults belong in .fluxzero/dev.yaml; invocation-specific flags are overrides. For all flags and lifecycle details, consult the owning CLI reference. Do not infer the effect of a full restart from the similarly named app-only controls in Devboard.


© 2026 Fluxzero