Docs menu

Windows

Melta connects to Windows' own SSH server and hands its commands on to where your agents run: Ubuntu in WSL, or a Docker container. The full guide is at Windows setup.

The steps

  1. Get Ubuntu (WSL). In PowerShell as administrator, run wsl --install, restart, and open Ubuntu once. Install your agents inside Ubuntu.
  2. Run the setup line: one press does it all. In the app, tap +, choose Tailscale, then Windows above the command, and copy it. Paste it into PowerShell or Command Prompt opened as administrator. It turns on Windows' SSH server, adds your phone's key, installs Tailscale, installs Node.js 20 in Ubuntu when needed, Herdr and the notification plugin, and keeps Herdr running in the background.
  3. Enter what it prints. Type the Tailscale IP and user into Melta. The user is your Windows account name.

Where commands run

Each host has a Run Commands In setting (Edit on the host's screen): Auto (Ubuntu in WSL when Herdr is there, else Windows itself), Computer, WSL or Docker. Without Herdr in Linux you still get a terminal and Notes.

Keep it reachable

A Windows task, Melta Herdr, starts Herdr in Ubuntu when you sign in and keeps it running with no window open. Stop the PC from sleeping: Melta cannot wake it.

What the result line means

The setup line ends with OK: everything is set. or Not finished. Missing: and a list. Its last line is for the app: melta-setup: ok, warn or fail, then short codes. The app shows each code in plain words.

  • warn: the phone can connect, but something is missing, such as Ubuntu (no-wsl) or Tailscale's sign-in (tailscale-login).
  • fail: a needed part did not work, such as the administrator window (not-admin) or the SSH server (sshd-start). Fix it and run the line again.

Common questions

Can I run the line twice?

Yes. Running it again is safe and finishes what is missing.

Why an administrator window?

The SSH server and its firewall rule need it. Right-click Start and choose Terminal (Admin).

My Ubuntu is old. Does that matter?

No. When Ubuntu's Node.js is missing or older than 18, the line installs Node.js 20.

What does herdr-keep mean?

Herdr did not start in the background. Open Ubuntu once, run herdr, then run the line again.