Nebula

CLI reference

Every nebula command, generated from the CLI (version 0.1.0-alpha.0).

generated from the sources

The nebula command-line tool installs Nebula into a Unity project, runs the mesh locally and deploys it. This reference is generated from the CLI itself (nebula help --json) by website/scripts/gen-cli.mjs; nebula --help and nebula <command> --help print the same information in the terminal. See Install the CLI for how to get it.

nebula <command> [options]

Getting started

CommandSummary
nebula setupInstall the prerequisites for running Nebula locally
nebula initInstall Nebula into the Unity project in the current folder

Running locally

CommandSummary
nebula buildBuild the game executable every role runs from (orchestrator, gateway, workers, client)
nebula startRun the mesh locally: SpacetimeDB, the control-plane module, orchestrator, gateway and workers
nebula stopStop the local mesh (every process of the build, and SpacetimeDB if nebula start started it)
nebula statusShow the mesh: workers, containers, players, bots, NPCs and recent events
nebula logsShow a role's log: orchestrator, gateway, w1..wN, bot1..

Deploying

CommandSummary
nebula configConfigure a deploy target, Spacetime Maincloud, or the Unity editor path
nebula deployBuild, publish the control plane and run the mesh on the configured deploy target
nebula destroyDelete every cloud server of the mesh so nothing keeps billing

Other

CommandSummary
nebula versionPrint the CLI version
nebula helpShow help for the CLI or one command

Global options

OptionDescription
--project <path>run against another Nebula project instead of the current folder
-v, --verboseprint stack traces and the commands the CLI runs
-y, --yesanswer every confirmation with yes

On this page