Skip to content
Ragon
Star
Apps
On this page

Install the desktop app

The one-line installers put the desktop app in place together with the ragon client, on Linux, a Mac and Windows. ragon-app is on your PATH afterwards (on a Mac and Windows, the app is also in Applications and the Start menu). This page covers each platform, and the manual downloads.

Install and run

The one-line installer that installs ragon installs the app too:

curl -fsSL https://github.com/dreamference/ragon/releases/latest/download/install.sh | bash
irm https://github.com/dreamference/ragon/releases/latest/download/install.ps1 | iex

The app is an unsigned preview, but a file a script downloads carries no browser quarantine mark or Mark of the Web, so it opens without Gatekeeper's or SmartScreen's first-launch dialog. ragon update then updates the app with the terminal agent, from the same release and under the same checks (it leaves the app alone while it is running: quit it and run ragon update again). --no-app (install.sh, on Linux and macOS) or -NoApp (Windows) leaves the app out. A machine with no screen still gets the app, unless you pass that option: the installer says the session has no screen and that the app opens from a desktop session. The app needs no web server: it runs the agent itself.

On Linux

install.sh takes the release's ragon_<version>_<arm64|amd64>.deb, checks it against the signed SHA256SUMS and unpacks it with dpkg-deb -x into the install folder (app/ beside the client; nothing is installed system-wide). It links ~/.local/bin/ragon-app to the app and writes a launcher entry and icon under ~/.local/share. It asks for no password: the client install asks for none, and neither does this. It needs dpkg-deb, which Debian and Ubuntu have; the libraries the app links against (GTK and others, which the .deb's own Depends line names) must be there already, and the installer lists any that are missing. It runs ragon-app --version at the end to prove the app starts.

One step may need root: on Ubuntu 24.04 and later (where kernel.apparmor_restrict_unprivileged_userns is 1), Chromium's sandbox needs an AppArmor profile. The installer writes it itself when it runs as root or sudo -n works; otherwise it prints one command, to run once at a terminal where sudo can ask:

~/.local/share/dreamference/ragon/app/install-sandbox-profile.sh

Until then ragon app falls back to a setuid sandbox helper where the build has one; otherwise the app dies at start with No usable sandbox!.

The release job builds the .deb for arm64 (a DGX Spark) only. On a release without one for your machine, the installer installs the client and says the release has no app for it. The .deb installed system-wide (sudo apt install ./ragon_<version>_arm64.deb) still works and is the way to get the app in every user's launcher.

From a checkout:

ragon-admin desktop install    # the app's packages (Node.js 22.13+ needed) and, once, a sandbox profile (sudo)
ragon-admin desktop run        # build if needed, register the launcher entry, open the window
ragon-admin desktop build      # the installable .deb, in desktop/electron/out/make

On a release install, where there is no desktop/ project, ragon-admin desktop run opens the installed app (ragon-app) and builds nothing. Open it from your application menu, or with ragon-app, or with:

ragon app

ragon-admin desktop status reports what it can: in a checkout whether everything needed to build and run the app is present, on a release install whether the installed app is found and answers ragon-app --version; either way it prints the installed app it found.

ragon update updates the app with the client on every platform, from the same release, so the two are never a version apart.

From a zip or an unpacked folder (Linux)

Ubuntu 24.04 and later let a program create the user namespace Chromium's sandbox needs only if an AppArmor profile names it, and the app ships no setuid sandbox helper. The .deb writes that profile for /usr/lib/ragon/Ragon, and ragon-admin desktop install writes one for a checkout's build. Nothing installs a zip or a copied Ragon-linux-<arch>/ folder, so without a profile the app dies at start with No usable sandbox! (opened with ragon app, nothing appears at all). Before the first start, run the script beside the binary once:

cd ~/Ragon-linux-arm64          # wherever you unpacked it
./install-sandbox-profile.sh        # prints the two sudo commands, then runs them (sudo asks once)
./Ragon

The profile names the binary's path, so moving the folder needs the script run again (from the new place; one unpacked copy at a time). ./install-sandbox-profile.sh --print shows the profile and changes nothing. A build older than the script needs the same profile written by hand, with APP set to the binary's absolute path:

APP="$HOME/Ragon-linux-arm64/Ragon"
sudo tee /etc/apparmor.d/ragon-unpacked >/dev/null <<EOF
abi <abi/4.0>,
include <tunables/global>
profile ragon-unpacked "$APP" flags=(unconfined) {
  userns,
}
EOF
sudo apparmor_parser -r -T -W /etc/apparmor.d/ragon-unpacked

Never start it with --no-sandbox instead: that turns off the sandbox around every page the app shows.

On a Mac (preview)

The app runs on Apple silicon and Intel Macs, macOS 12 or later. On a Mac it is a client: Ask and Work run the ragon bundled in the app against the model of the DGX Spark on your network. It finds the DGX Spark the way ragon does (the node must have run ragon-admin node enable); with several on the network, choose one with ragon node use <name>.

install.sh (above) installs it from the release's Ragon-<version>-arm64-preview.dmg or -x64-preview.dmg, checked against the signed SHA256SUMS, into /Applications when your account may write there (an administrator's may) and ~/Applications otherwise. It is not signed with an Apple Developer ID and not notarized: it carries an ad-hoc signature only (Apple silicon runs nothing without one). Installed by the script, it carries no quarantine mark, so macOS opens it without asking; a dmg downloaded in a browser is stopped the first time (other ways to install).

The first time the app looks for your DGX Spark, macOS asks whether Ragon may find devices on your local network: allow it, or the app cannot reach the node (System Settings → Privacy & Security → Local Network turns it back on). Because the signature is ad hoc, macOS may ask again after each update.

Work in a project under ~/Documents, ~/Desktop or ~/Downloads waits on macOS's folder-access dialog ("Ragon would like to access files in your Documents folder"): until you allow it, the chat shows nothing and the agent cannot read the project (System Settings → Privacy & Security → Files and Folders changes it later). Projects anywhere else in your home folder need no dialog.

The review pane, worktrees and commits need Apple's Command Line Tools, which give the Mac its git. Without them the app never runs the git the Mac comes with (which would only pop up macOS's offer to install the tools, in any folder): those features show as unavailable, with a hint, and work as soon as the tools are there. A git of your own on the app's PATH, such as Homebrew's, is used instead. Install the tools once in Terminal:

xcode-select --install

The preview never asks for your keychain: it starts without the "Ragon Safe Storage" entry that Chromium apps keep there (each unsigned build would ask again, and a start could wait on the prompt with no window). The app keeps no password or token; the one thing that entry would protect is the cookies of pages opened in the preview tab, which are stored without it. This will change once the app is signed with a Developer ID.

What the preview does not do yet: ragon app in a Mac terminal does not open it (open it from Applications or Spotlight), it does not update itself (ragon update does), and closing its window quits it, as on Linux.

On Windows (preview)

A release carries Ragon-Setup-<version>-arm64.exe (Windows on Arm) and Ragon-Setup-<version>-x64.exe (x86-64) for Windows 11, with ragon.exe inside, a client of a Ragon node on your network. install.ps1 (above) checks the one for your PC against the release's signed SHA256SUMS and runs it silently: it installs for you alone, with no administrator, under %LOCALAPPDATA%\Programs\Ragon\App, and adds a Start menu entry. The installers are not signed, so Smart App Control must be off. ragon update updates it with the command-line client; to remove the app, use Settings → Apps → Installed apps. ragon uninstall removes the command-line client only, and leaves the app and its firewall rules. The app's installer needs no administrator, so it adds no firewall rule itself: install.ps1 adds the rules for the app's programs in the same run, so the app hears nodes announce themselves (an app installed by hand gets them at the next install.ps1).

Other ways to install

The release page's dmg and Windows installer can also be downloaded and opened by hand. They are unsigned previews, and a browser marks what it downloads, so macOS and Windows stop them the first time. Check each download against the release's SHA256SUMS, which is signed, first:

shasum -a 256 ~/Downloads/Ragon-*-preview.dmg    # compare with the line in SHA256SUMS

On a Mac:

  1. Open the dmg and drag Ragon onto Applications. Run it from there, not from the dmg.
  2. Open it once (double-click). macOS says it cannot verify the app; click Done (or OK).
  3. On macOS version 15 (Sequoia) and later, open System Settings → Privacy & Security, scroll to Security, and click Open Anyway next to the line about Ragon. Confirm with your password. From then on it opens normally. On macOS version 14 (Sonoma) and earlier, Control-click (or right-click) Ragon in Applications, choose Open, then Open again in the dialog.

Or, in Terminal, remove the quarantine mark the browser put on the download, which is what makes macOS ask:

xattr -dr com.apple.quarantine /Applications/Ragon.app

On Windows, run the installer; SmartScreen warns the first time: More info, then Run anyway. Smart App Control must be off (Windows Security → App & browser control → Smart App Control settings).

The app keeps its own data (window positions, preferences, its browser profile) in %LOCALAPPDATA%\dev.dreamference.ragon, and your chats and settings are in %USERPROFILE%\.ragon. Removing the app leaves both, so a reinstall picks up where you were; delete the folders yourself to remove them too.

Next steps