# share

noduma share, serving this PC's engine to a coordinator in the foreground.

Source: https://docs.noduma.dev/cli/share/

`noduma share` is what the background service runs. Run it yourself for a coordinator of your own, a node from an invite, or a PC with its own llama-server. It connects outbound only.

## `noduma share`

```sh
export NODUMA_NODE_KEY=ndm_n_...
noduma share --coordinator https://coord.example --id gaming-pc \
  --llama-server "$(command -v llama-server)" --model-file qwen2.5-7b-instruct-q4_k_m-00001-of-00002.gguf \
  --model qwen2.5-7b-instruct-q4_k_m --capacity 4
```

| Option | Meaning |
|---|---|
| `--coordinator URL` | The coordinator (HTTPS, or HTTP on loopback) |
| `--id NAME` | The node's name, unique within your account |
| `--model NAME` | The only model this node serves, named with its quantization as in the catalog |
| `--llama-server PATH` | Start and supervise this llama-server instead of using `--backend`: on loopback, with a private key, restarted if it exits |
| `--model-file FILE` | The GGUF file for `--llama-server` |
| `--backend URL` | The base URL of an engine you run yourself |
| `--capacity N` | Requests at once (1 to 16) |
| `--context N` | Context tokens per request with `--llama-server` (default 4096) |
| `--gpu-layers N` | Model layers on the GPU with `--llama-server` |
| `--node-key-file FILE` | A file holding the node key, instead of `NODUMA_NODE_KEY` |
| `--config FILE` | The contributor configuration written by `noduma contribute` |
| `--device FILE` | The `device.json` saved by browser pairing |
| `--report-performance` | Send the engine's CPU, memory and GPU use and its speed for the maintainers' view, when `share` supervises the engine; not with `--device` or `--config`, whose owner switches it in the Noduma app or Noduma desktop |
| `--log-file FILE` | Append logs to this file |
| `--ca-file FILE` | A certificate authority to trust, for a coordinator with a private one |
| `--dev-mode` | Log each job's kind, timings and token counts, never message text or keys |
| `--confidential` | Run as a confidential node in a TDX or SEV-SNP VM with an NVIDIA confidential GPU (never run on real hardware) |

The Tier 2 options (`--tier2`, `--tier2-listen`, `--tier2-advertise`, `--tier2-memory-gib`, `--tier2-small-model`, `--tier2-small-model-file`, `--tier2-relay`, `--tier2-open-router`, `--rpc-server`) are listed by `noduma share --help`; most people set Tier 2 up with Noduma desktop or `noduma contribute --tier2` instead. See [Tier 2](/contributors/tier-2/).
