Linux computer
Install wendy-agent on any Linux machine to turn it into a managed Wendy device

Overview
Install wendy-agent on any existing Linux installation, including Ubuntu, Debian, Raspberry Pi OS, DGX Spark, NUCs, cloud VMs, or any other ARM64 or x86-64 (Intel or AMD) machine. Ubuntu 22.04 or later is recommended. Wendy Agent is also known to work on Fedora, Arch, and other popular Linux distributions. Choose local access for apps controlled from this computer, or network access to manage it from another computer.
(wendy-agent is already built into WendyOS — Jetson Orin Nano, Jetson AGX Thor, Raspberry Pi. If you flashed WendyOS, skip this guide.)
This video installs the agent on an NVIDIA DGX Spark. The steps are the same on any Linux computer.
Requirements
- A Linux machine. Ubuntu 22.04 or later is recommended; Fedora, Arch, and other popular Linux distributions are also known to work
curlinstalledsudoaccess
Installation
SSH or log into the target machine and run:
curl -fsSL https://install.wendy.dev/agent.sh | bashThe installer asks who should be able to connect:
- Only this computer (default): management and image uploads bind to localhost; Wendy discovery, cloud control relays, and BLE control are disabled.
- Other devices: enables network discovery and remote access. Before enrollment, reachable computers may deploy and run apps, so use this on a trusted network.
Existing agent installations without a saved choice preserve network access during
updates. An explicit --network-access flag overrides that migration default.
The answer is saved in /etc/wendy-agent/network-access. Updates preserve the
saved answer. With -y or no interactive terminal, a fresh install uses local
access. Choose network access explicitly for an unattended edge installation:
curl -fsSL https://install.wendy.dev/agent.sh | bash -s -- -y --network-access networkTo change the choice later, re-run the installer with --network-access local
or --network-access network. The service restarts to apply it.
This choice controls the agent's access points. Apps you deploy can expose their own network services. WendyOS images and existing package installations without a choice file retain their current device networking.
Pre-enrolling into your org (optional)
Running wendy install and choosing Linux Desktop while logged in prints a
one-liner that carries a short-lived enrollment token:
curl -fsSL https://install.wendy.dev/agent.sh | \
WENDY_ENROLLMENT_TOKEN=<token> WENDY_CLOUD_HOST=<cloud-host> bash -s -- --network-access networkThe agent enrolls into your organization on first startup. No wendy device enroll step needed. The token expires after about an hour, so run the command
promptly. Without these variables the agent installs unenrolled and is
discoverable over your local network if you chose network access. Enrollment
does not override a local-only access choice: a local-only agent does not open
the cloud relay, so the device stays offline in your org. The printed command
therefore includes --network-access network.
If the device cannot reach Wendy Cloud during its first startup (for example,
because the network is not yet up), enrollment is skipped and the token file is
deleted. In that case, run wendy device enroll from the CLI once the device
is reachable over mDNS, or re-run wendy install to obtain a fresh token.
Verify the installation
Check that the agent is running:
sudo systemctl status wendy-agentYou should see the service active and running.
For Only this computer, install the CLI on this Linux computer too. The
agent installer does not install it. Skip installation if wendy --version
already works:
curl -fsSL https://install.wendy.dev/cli.sh | bash
wendy --versionOpen a new terminal if wendy is not found. For an unenrolled local-only agent,
verify from this same computer:
wendy --device 127.0.0.1:50051 device info --jsonExpect device information in JSON. Local-only agents do not appear in
wendy discover; a missing discovery entry is expected for this setup.
After enrollment, the agent uses its authenticated mTLS port (normally 50052).
Discovering your device
If you chose Other devices, go back to your developer machine (where you installed the Wendy CLI) and run:
wendy discover
This uses mDNS to scan your local area network and list all devices running wendy-agent. You should see your newly configured machine appear in the list.
Deploying to remote devices
If your device is not on the same local network (e.g., a remote server, cloud instance, or a machine connected via a VPN like Tailscale or Headscale), mDNS discovery will not find it automatically. Instead, you can target the device directly by hostname:
wendy run --device {hostname}Replace {hostname} with the hostname or IP address of your remote machine. This works with any network topology, including Tailscale, Headscale, WireGuard, or plain SSH tunnels.
Next steps
Continue with the app tutorial, including its
Docker with Buildx prerequisite. For Only this computer, keep the project,
CLI, and builder on this Linux computer and pass --device 127.0.0.1:50051
wherever the tutorial selects a device. For Other devices, develop on your
computer and select the Linux target.