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 agent or app and the 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:
| Device | What you install | Tutorial |
|---|---|---|
| Linux server, VM or single-board computer | The Clavda agent, a single executable | Linux |
| Raspberry Pi | The same Linux agent, ARM build | Raspberry Pi |
| Windows PC | The Clavda Desktop app | Windows |
| Mac | The Clavda Desktop app | macOS |
| Ubuntu desktop or laptop | The Clavda Desktop app | Ubuntu desktop |
| ESP32 board | The ClavdaOTA library, inside your own firmware | ESP32 |
The agent and the desktop app both give you the device's terminal, files and screen from the dashboard. The agent runs as a service and suits servers; the app runs in the tray of a computer someone uses. 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 and choose the installation platform: first the kind of machine (Linux for a server, Windows, Ubuntu or Mac for the desktop app, or ESP32), then, in the second dropdown, its architecture for Linux or the installer you want for Windows and Ubuntu (for example the .exe or the MSI, the .deb, AppImage or .rpm). A Mac has no second choice: one universal disk image runs on Apple silicon and Intel. The platform decides what you download, 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, and each desktop tutorial says where to look.
For a Linux server, also enter the SSH username and password the browser terminal should log in with. The desktop app and an ESP32 need none.
Generate the setup files
Save, reopen the device, and press Generate Setup Commands. For Windows, Ubuntu and macOS the button is Get Download Links; for an ESP32, 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 Linux agent for the architecture you picked.
- Clavda Desktop downloads: for Windows, Ubuntu and macOS, links to the app's installers for your architecture. Every build is also on the download page.
- Download Config: a
.envfile for Linux and the desktop app, orclavda_device.hfor an ESP32.
These are the Linux agent binaries:
| Platform | Binary |
|---|---|
| Linux x86-64 | clavda-client-linux-amd64 |
| Linux ARM64, including 64-bit Raspberry Pi OS | clavda-client-linux-arm64 |
| Linux ARMv7, including 32-bit Raspberry Pi OS | clavda-client-linux-arm |
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
Linux
One command installs the agent and starts it on boot.
Raspberry Pi
Pick the right ARM build, then install like any Linux machine.
Windows
The Clavda Desktop app, in the system tray.
macOS
The Clavda Desktop app, in the menu bar.
Ubuntu desktop
The Clavda Desktop app, from a .deb or an AppImage.
ESP32
Add the ClavdaOTA library to your sketch and flash it once.
Troubleshooting
What to check when a device stays offline.