Run DeskFleet
You can run DeskFleet as a native desktop application (which hosts a local machine daemon in its main process), access your team's machines from the installable Web PWA, or deploy the standalone deskfleet-daemon executable on headless servers.
Install the desktop app
macOS (Apple Silicon)
Install DeskFleet from the official Homebrew tap:
brew install --cask yet-another-ai/tap/deskfleetYou can also download the .dmg disk image directly from GitHub Releases.
- Nix (nix-darwin): Add the release flake as an input, apply its
deskfleetoverlay, and includepkgs.deskfleetinenvironment.systemPackages. nix-darwin installs the signed app bundle under/Applications/Nix Appsand manages upgrades. See the Nix distribution guide.
Windows (x64)
Download and run the .exe installer from GitHub Releases.
Linux (x86_64 and ARM64)
- Arch Linux (AUR):sh
yay -S deskfleet-bin - Nix (with flakes enabled): Replace
<VERSION>with the release version without itsvprefix:shUsenix profile add 'https://github.com/yet-another-ai/deskfleet/releases/download/v<VERSION>/deskfleet-nix.tar.gz'nix runwith the same URL to launch DeskFleet without adding it to your profile. The Nix package installs the prebuilt desktop app and connects to the official DeskFleet service. - Debian / Ubuntu and Fedora / RHEL: Download the
.deb(amd64orarm64) or.rpm(x86_64oraarch64) package from GitHub Releases, then install the file you downloaded. Replace<VERSION>and the architecture in these examples with that release:shThe package manager owns upgrades, and these installs do not use the AppImage self-updater.sudo apt install ./deskfleet-<VERSION>-linux-amd64.deb sudo dnf install ./deskfleet-<VERSION>-linux-x86_64.rpm - AppImage / Archive: Download the
.AppImageor.tar.gzarchive forx86_64orarm64from GitHub Releases.
NOTE
On Linux Wayland sessions, remote desktop sharing requires your desktop session's XDG Desktop Portal and PipeWire services along with a supported GPU driver.
Enroll your first machine
- Launch DeskFleet, sign in, and create or select a Team.
- Click Add machine and choose This computer in the desktop app to register its embedded daemon with your team.
- Open Settings → Agents on that machine to install, verify, and sign in to your preferred agent CLIs (such as Claude Code, Codex CLI, Cursor CLI, or Grok CLI).
Closing the desktop window keeps DeskFleet in the system tray so running agent sessions, PTY terminals, and scheduled tasks continue in the background. Use the system tray menu to quit the app when you want to stop its embedded daemon.
Create a workspace and start a session
- Select an enrolled machine and create a Workspace by adding one or more existing directories on that computer. The first directory serves as the default working directory.
- Start a new Session, pick an agent provider, and describe your task.
- Choose where the agent works:
- New worktree: Creates an isolated Git checkout branched from committed
HEADso parallel sessions never conflict. - Working directory: Works directly inside the workspace's existing directories, including any uncommitted changes.
- New worktree: Creates an isolated Git checkout branched from committed
Add a headless machine
For remote workstations, VMs, or build servers without a desktop session, run the standalone deskfleet-daemon single-executable binary (deskfleet-daemon.exe on Windows; use PowerShell 7 pwsh).
- Download the headless daemon archive (
deskfleet-macos-arm64.tar.gz,deskfleet-linux-x64.tar.gz,deskfleet-linux-arm64.tar.gz, ordeskfleet-windows-x64.tar.gz) from GitHub Releases, or package it from source:shWhen built from source, the binary is written tomise run daemon:pack./apps/daemon/dist/deskfleet-daemon(or.\apps\daemon\dist\deskfleet-daemon.exeon Windows). - Start the daemon and prepare an enrollment bundle for your backend and team:sh
./deskfleet-daemon prepare-enrollment --server-url https://your-backend.example --team-id <TEAM_ID> - In the desktop or web client, open Add machine → Another machine and paste the enrollment output. DeskFleet registers the machine with your team and displays its execution credential once.
- Import the issued credential on the headless machine via standard input:sh
./deskfleet-daemon enroll --server-url https://your-backend.example < machine-credentials.json - Run
./deskfleet-daemon statusat any time to inspect registered teams without exposing secrets. See the daemon guide for the full CLI reference and storage layout, or Run on Android (Termux) to set updeskfleet-daemonon an Android device.
Run from source (local development stack)
To run the complete client, daemon, and server stack locally from source, install Git, mise, and Docker with Docker Compose. With Docker running:
git clone https://github.com/yet-another-ai/deskfleet.git
cd deskfleet
mise trust
mise install --locked
mise run install
mise run infra:up
mise run dev:seed
mise -E development run dev- Local infrastructure (
infra:up): Starts local PostgreSQL, Valkey, and coturn TURN services in Docker Compose. - Seeded administrator (
dev:seed): Creates a verified Site Admin in the local development database with emailadmin@deskfleet.testand passworddeskfleet-dev-password. You can also register a new account from the sign-in screen and open its verification link from.local/mail/. - API and Web client (
dev): Starts the Actix Web backend onhttp://localhost:8080and the Web client onhttp://localhost:5174/. - Desktop client (
desktop:dev): Keepdevrunning (Electron uses the local Web service for browser login), then runmise run desktop:devin another terminal.