ClavdaClavda

Before you install Clavda: add a device and get its setup files

Every Clavda install starts with a device record. Create one, pick the right platform, and download the binary and config file the machine needs.

Updated 3 min read

Clavda lets you open a terminal, move files and update firmware on a machine from your browser, even when that machine sits behind NAT, a firewall or a mobile network. Every device dials out to the Clavda relay over an encrypted connection, so nothing on it has to accept incoming connections and you never forward a port.

Before you install anything, the device needs a record in your Clavda account. Creating that record is what mints the credentials the device connects with. This takes about two minutes.

What runs on the device

What you install depends on the kind of device:

DeviceWhat you installTutorial
Linux server, VM or single-board computerThe Clavda agent, a single executableLinux
Raspberry PiThe same Linux agent, ARM buildRaspberry Pi
Windows PC or serverThe desktop app, or the agentWindows
MacThe desktop app, or the agentmacOS
ESP32 boardThe ClavdaOTA library, inside your own firmwareESP32

The agent gives you the device's terminal, files and screen from the dashboard. On an ESP32, the library gives you over-the-air firmware updates, a remote Serial Monitor and a live dashboard.

Create the device record

Add the device

Sign in to Clavda (or create an account), open Devices and choose Add Device.

Pick the installation platform

Give the device a name, enter the SSH username and password the browser terminal should log in with, and choose the installation platform that matches the machine. The platform decides which binary you get, so the architecture matters: an ARM board must not be registered as x64. If you are not sure which one you have, the Linux tutorial shows how to check.

Generate the setup files

Save, reopen the device, and press Generate Setup Commands. For an ESP32, the button is Get Device File.

What the setup panel gives you

The setup panel is the source of everything the platform tutorials refer to:

  • Install, Update and Uninstall commands: Linux only, since only Linux gets a generated install script.
  • Download Binary: the agent for the platform you picked.
  • Download Config: a .env file for Linux, Windows and macOS (the desktop app imports the same file), or clavda_device.h for an ESP32.

These are the binaries for each platform:

PlatformBinary
Linux x86-64clavda-client-linux-amd64
Linux ARM64, including 64-bit Raspberry Pi OSclavda-client-linux-arm64
Linux ARMv7, including 32-bit Raspberry Pi OSclavda-client-linux-arm
Windows x86-64clavda-client-windows-amd64.exe
macOS on Intelclavda-client-darwin-amd64
macOS on Apple siliconclavda-client-darwin-arm64

Treat the config file like a password

It holds live credentials for that one device. Do not commit it to git or paste it into a chat, and once it is on the machine, make it readable only by the account that runs the agent.

Choose your tutorial