Clavda Docs
Install Clavda on any device
Step-by-step tutorials for putting a Linux server, Raspberry Pi, Windows PC, Mac or ESP32 board online in Clavda, so you can reach its terminal, files and firmware from the browser.
New here? See what to set up before you install
How it works
- 1
Add a device
Create it in the Clavda dashboard and pick its platform. That mints the credentials it connects with.
- 2
Install the agent
One command on Linux, the desktop app or a binary on Windows and macOS, a library in your ESP32 firmware.
- 3
Reach it from anywhere
The device dials out to Clavda, so it works behind NAT and firewalls with no port forwarding or VPN.
Linux
Install Clavda on Linux with one command
Connect a Linux server, VM or single-board computer to Clavda with the one-line installer, as root or without root, then keep the agent up to date.
Read tutorialRemote access to a Raspberry Pi from anywhere with Clavda
Reach a Raspberry Pi's terminal and files from your browser, behind any router and without port forwarding: pick the right ARM build and install with one command.
Read tutorialInstall Clavda manually on Linux with a systemd service
Install the Clavda agent by hand: put the binary and its .env in place, test it in the foreground, then start it on boot with a system or per-user systemd unit.
Read tutorialInstall Clavda Desktop on Ubuntu
Connect an Ubuntu desktop or laptop to Clavda with the Clavda Desktop app, from the .deb package or the AppImage, then import the device config file.
Read tutorial
Windows & macOS
Install Clavda on Windows with the Clavda Desktop app
Connect a Windows PC to Clavda with the Clavda Desktop app: install it, import the device config file, and keep it connected from sign-in.
Read tutorialInstall Clavda on macOS with the Clavda Desktop app
Connect a Mac to Clavda with the Clavda Desktop app: install it from the disk image, import the device config file, and keep it connected from login.
Read tutorial
ESP32
ESP32 · Arduino IDE
Connect an ESP32 to Clavda with the Arduino IDE
Add the ClavdaOTA library to an Arduino IDE sketch, in C++ or in C, flash the ESP32 once over USB, and manage it over Wi-Fi from then on.
Read tutorialUpdate ESP32 firmware over the air with the Arduino IDE
Export an Arduino sketch as a .bin, upload it in Clavda, and the ESP32 installs it from anywhere, without a USB cable. In C++ or C.
Read tutorialRemote Serial Monitor for an ESP32 with the Arduino IDE
Read an Arduino sketch's serial output in your browser and type commands back to the ESP32, from anywhere, by printing to ClavdaSerial instead of Serial. In C++ or C.
Read tutorialBuild a live ESP32 dashboard with the Arduino IDE
Lay out cards, charts, toggles and sliders for an ESP32 in the Clavda console, then feed them from an Arduino sketch, in C++ or C. No server or MQTT broker to run.
Read tutorial
ESP32 · PlatformIO
Connect an ESP32 to Clavda with PlatformIO and ESP-IDF
Add the ClavdaOTA library to a PlatformIO project with the ESP-IDF framework, in C or C++, give it a partition table with two app slots, flash the ESP32 once over USB, and manage it over Wi-Fi from then on.
Read tutorialUpdate ESP32 firmware over the air with PlatformIO
Build a PlatformIO ESP-IDF project, upload its firmware.bin in Clavda, and the ESP32 installs it from anywhere, without a USB cable, with app rollback if the new build fails. In C or C++.
Read tutorialRemote Serial Monitor for an ESP32 with PlatformIO
Read a PlatformIO ESP-IDF firmware's output and ESP_LOGx logs in your browser and type commands back to the ESP32, from anywhere, with the ClavdaOTA library. In C or C++.
Read tutorialBuild a live ESP32 dashboard with PlatformIO
Lay out cards, charts, toggles and sliders for an ESP32 in the Clavda console, then feed them from PlatformIO ESP-IDF firmware, in C or C++. No server or MQTT broker to run.
Read tutorial
ESP32 · ESP-IDF
Connect an ESP32 to Clavda with ESP-IDF
Add the ClavdaOTA component to an ESP-IDF project, in C or C++, give it a partition table with two app slots, flash the ESP32 once over USB, and manage it over Wi-Fi from then on.
Read tutorialUpdate ESP32 firmware over the air with ESP-IDF
Build an ESP-IDF project, upload its .bin in Clavda, and the ESP32 installs it from anywhere, without a USB cable, with app rollback if the new build fails. In C or C++.
Read tutorialRemote Serial Monitor for an ESP32 with ESP-IDF
Read an ESP-IDF firmware's output and ESP_LOGx logs in your browser and type commands back to the ESP32, from anywhere, with the ClavdaOTA component. In C or C++.
Read tutorialBuild a live ESP32 dashboard with ESP-IDF
Lay out cards, charts, toggles and sliders for an ESP32 in the Clavda console, then feed them from ESP-IDF firmware, in C or C++. No server or MQTT broker to run.
Read tutorial
Help
Clavda troubleshooting: device offline and common install errors
Why a Clavda device stays offline and how to fix it: read the agent's log, and solutions for Exec format error, WEB_CLIENT_ID is required, sudo, Clavda Desktop and ESP32 problems.
Read tutorialHow to uninstall Clavda from Linux, Windows, macOS and ESP32
Remove Clavda completely: stop the agent or uninstall the desktop app, delete its files, erase an ESP32's stored identity, and delete the device so its credentials stop working.
Read tutorial