Development workflow
carbon devThe desktop development command:
- Loads and validates
carbon.json. - Generates application command types and syncs capabilities.
- Starts
build.devCommandwhen the dev URL is not already available. - Runs the backend with
dotnet watch. - Loads
build.devUrlin the native webview. - Watches command sources and refreshes declarations after changes.
Use explicit target aliases when scripting:
carbon dev desktopcarbon dev androidcarbon dev iosAndroid and IOS development commands build and deploy through their native .NET workloads. Boot or connect the target emulator/device first.
Run one-shot generation in CI or editor tasks:
carbon typescarbon capabilities checkcarbon doctorIf another process already owns the Vite URL, Carbon uses it instead of starting a second server.
