Skip to content

Install an agent

The agent runs on the machine you want to reach. These commands install the newest agent release and set it up with a setup code from your portal. Run them at the machine itself. The full guides explain each step: Mac agent, Windows agent, Linux agent.

  1. In your portal (for example https://rd.example.com), click Add device, give the machine a name and copy the setup code (rds1_…). It is shown once and works like a password.

  2. On the machine, paste the commands for its system:

    In Terminal (macOS 15 or later, Apple silicon or Intel):

    Terminal window
    v=$(curl -fsSL "https://api.github.com/repos/Thijmen/remoted/releases?per_page=50" \
    | grep -o '"tag_name": *"agent-v[0-9][^"]*"' | head -n 1 | sed 's/.*agent-v//; s/"$//')
    curl -fL -o /tmp/rd-agent.zip \
    "https://github.com/Thijmen/remoted/releases/download/agent-v$v/rd-agent-$v-macos-universal.zip"
    ditto -x -k /tmp/rd-agent.zip /Applications && rm /tmp/rd-agent.zip
    "/Applications/RD Agent.app/Contents/MacOS/rd-agent" setup

    Setup asks for the setup code, then for Screen Recording and Accessibility: enable “RD Agent” in System Settings → Privacy & Security and press Enter. Afterwards restart the agent once so it picks up the permissions:

    Terminal window
    launchctl kickstart -k gui/$(id -u)/dev.thijmen.rd.agent
  3. Back in the portal, the machine shows Online within a few seconds. Click Connect (on Linux: Terminal).