# Install

Install Noduma desktop and the noduma command on macOS, Windows or Linux, and pair the PC.

Source: https://docs.noduma.dev/contributors/install/

Each installer holds Noduma desktop and the `noduma` command. Sign in to the [Noduma app](https://app.noduma.dev): it offers the installer for your system, from the latest release whose signed list of files verifies.

The installers are built by each release whose files changed. They are **not signed** with an Apple Developer ID or a Windows (Authenticode) certificate and not notarized, so the first open asks for one approval. They have been built and started in containers and on the maintainers' machines, not yet on clean Windows, Mac and Ubuntu machines.

**macOS**

`Noduma-Desktop.dmg`, for macOS 13 or newer, Apple silicon and Intel (one universal program).

1. Open the `.dmg` and drag **Noduma** to Applications.
2. Open Noduma. macOS refuses the first open because the program is signed ad hoc only: choose **Done**, then **System Settings › Privacy & Security › Open Anyway**.
3. Noduma desktop signs you in through your browser: it shows a code (`XXXX-XXXX`) that you type on the approval page.
4. Under **This PC**, set it up and pair it, then press **Start sharing**.

From a terminal, `install.sh` with `noduma-darwin-universal.tar.gz` installs the same program to `~/Applications` and `noduma` beside it.

**Windows**

`Noduma-Desktop-Setup.exe`, for Windows x64. It installs for your user only, adds `noduma` to your PATH and opens Noduma desktop.

1. Run the installer. SmartScreen warns because it is unsigned: **More info**, then **Run anyway**.
2. Without the WebView2 Runtime, the installer installs it from Microsoft for your user.
3. Sign in with the code Noduma desktop shows, set this PC up under **This PC**, pair it, and press **Start sharing**.

Noduma also adds a notification-area icon with **Start sharing** and **Stop sharing**.

**Linux**

`noduma-desktop-amd64.deb`, for Debian, Ubuntu and relatives on x86-64:

```sh
sudo apt install ./noduma-desktop-amd64.deb
```

It installs Noduma desktop with GTK and WebKitGTK, and `noduma`. Open Noduma from the applications menu, sign in with the code it shows, set this PC up, pair it and press **Start sharing**.

On other distributions, or on a server without a desktop, use the tarball `noduma-linux-amd64.tar.gz` with the release's `install.sh`, which checks the tarball against the release's `SHA256SUMS`, installs `noduma` to `~/.local/bin` and starts `noduma contribute`:

```sh
NODUMA_RELEASE_URL=<the address of the release's files> sh install.sh
```

`NODUMA_NO_DESKTOP=1` skips Noduma desktop. On WSL without systemd, Noduma cannot start at login: `noduma contribute` prints the `noduma share` command to run instead.

## Without Noduma desktop

`noduma contribute` sets up the same thing from a terminal:

```sh
noduma contribute            # pairs this PC in your browser, installs the engine and a model, starts in the background
noduma contribute start      # start sharing
noduma contribute status     # what it does now
```

`--no-open` on `noduma pair` prints the pairing link instead of opening a browser, to approve it on another device. See [contribute](/cli/contribute/), [pair](/cli/pair/) and [setup](/cli/setup/).

## What gets installed

- `~/.noduma` (the installation directory): the pinned llama.cpp engine, the model files, this PC's key (readable only by you) and the log `share.log`.
- A login entry that starts Noduma in standby at every login, with no administrator rights: launchd on macOS, a systemd user unit on Linux, the user's Run entry on Windows.
- Noduma desktop, and on Windows the notification-area icon and Start-menu shortcuts.

Every download of the engine and the models is fixed by URL, size and SHA-256 in the release and checked before use.
