jalth init
Initialize a new jalth mesh network.
jalth init [options]Options
Section titled “Options”| Flag | Description |
|---|---|
-d, --domain <domain> | Custom domain for the registry and served services |
--device-name <name> | Name for this device |
--email-domain <domain> | Restrict membership to an email domain |
--token <token> | Cloudflare API token (skips interactive prompt) |
--force | Overwrite MDM config for a different org without prompting |
--ssh / --no-ssh | Enable or skip SSH setup (default: enabled) |
--fresh | Re-initialize even if already set up |
--unattended | Headless admin bootstrap via service token |
Examples
Section titled “Examples”# Interactive setupjalth init
# With custom domainjalth init --domain myteam.com
# CI / headless serverjalth init --unattended --token $CF_API_TOKEN
# Non-interactive with all optionsjalth init --domain myteam.com --device-name admin-box --token $CF_API_TOKEN --no-ssh- Requires a Cloudflare API token with recommended permissions
- The token is bound to the Worker as a secret — not stored locally
- Failed runs can be resumed by running
jalth initagain - See Create a mesh for the full walkthrough