Install Muffin
Source files: 7 · checked against muffin v0.3.0
muffin/packaging/linux/nfpm.yamlmuffin/packaging/linux/postremove.shmuffin/packaging/windows/muffin.issmuffin/packaging/macos/package.shmuffin/.github/workflows/release.ymlmuffin/crates/muffin/src/desktop.rsmuffin/crates/muffin/src/service_manager/mod.rs
Muffin is distributed as one file per platform. It is not published to a package repository or an app store, so install the file for your system from the release you were given, and check it against the release’s SHA256SUMS file:
sha256sum -c --ignore-missing SHA256SUMS| File | System |
|---|---|
muffin-proxy_<version>_amd64.deb, muffin-proxy_<version>_arm64.deb |
Debian 12 and Ubuntu 22.04 or later |
muffin-proxy-<version>-1.x86_64.rpm, muffin-proxy-<version>-1.aarch64.rpm |
Fedora, and RHEL 9 or later and its rebuilds |
muffin-<version>-linux-x86_64.tar.gz, muffin-<version>-linux-aarch64.tar.gz |
Other Linux systems with glibc 2.34 or later and OpenSSL 3 |
muffin-<version>-macos-aarch64.dmg |
macOS 11 or later on Apple silicon |
muffin-<version>-windows-x86_64-setup.exe |
Windows 10 or later, x86-64 |
Install
Section titled “Install”Install the package with your package manager:
sudo apt install ./muffin-proxy_0.3.0_amd64.deb # Debian, Ubuntusudo dnf install ./muffin-proxy-0.3.0-1.x86_64.rpm # Fedora, RHELThe package is called muffin-proxy, because the name muffin belongs to Cinnamon’s window manager. It installs both programs in /opt/muffin/, a menu entry, an icon and the licences of the bundled fonts. It depends on OpenSSL 3, and on the X11, Wayland and Vulkan libraries the window draws with; it recommends Mesa’s Vulkan drivers, EGL, systemd, and pkexec for granting the TUN permission.
Start Muffin from the application menu, or run /opt/muffin/muffin.
The tarball needs no installation: unpack it anywhere and run ./muffin from that directory. Keep muffin and muffin-service side by side, because the window starts the service from its own directory. At every start, Muffin writes a menu entry for itself under ~/.local/share/applications, so it appears in the application menu after the first run. The tarball does not run on NixOS.
Open the .dmg and drag Muffin to Applications.
Muffin is not notarized, so macOS refuses to open it the first time. Open System Settings › Privacy & Security and click Open Anyway next to the message about Muffin, or clear the quarantine flag in Terminal:
xattr -dr com.apple.quarantine /Applications/Muffin.appRun the setup program. It installs Muffin for your user only, in %LOCALAPPDATA%\Programs\Muffin, without asking for administrator rights, together with wintun.dll, which TUN mode needs. It adds Muffin to the Start menu, and to the desktop if you tick that box. The installer is in English or Simplified Chinese.
Windows SmartScreen warns that the program is unrecognized: click More info, then Run anyway. Later, granting the TUN permission shows a User Account Control prompt from an unknown publisher.
The installer and the uninstaller refuse to continue while Muffin runs, with Muffin is running. Choose "Stop Proxy and Quit" from its tray menu, then click Retry.
Quick start walks through the first start.
Upgrade
Section titled “Upgrade”Install the new version over the old one, the same way. Stop the proxy first with Stop Proxy and Quit; the Windows installer insists on it. If a service of the old version is still running when the new window opens, Muffin restarts it on the new version.
If you granted the TUN permission, grant it again after the upgrade: Muffin uses the privileged copy of the service only when its version matches the window’s, so until you grant it again the unprivileged service runs and TUN mode is not available.
Uninstall
Section titled “Uninstall”| System | How | What stays |
|---|---|---|
| Linux packages | sudo apt remove muffin-proxy or sudo dnf remove muffin-proxy. Removing the package also deletes the privileged copy in /var/lib/muffin. |
Your data in ~/.local/share/muffin and ~/.config/muffin |
| Linux tarball | Delete the directory and the menu entry Muffin wrote under ~/.local/share/applications. Revoke the TUN permission in Settings › TUN first, if you granted it. |
Your data |
| macOS | Revoke the TUN permission in Settings › TUN, then move Muffin to the Trash. | Your data in ~/Library/Application Support/muffin |
| Windows | Settings › Apps. The uninstaller removes the TUN service behind a UAC prompt, and Muffin’s autostart entry. | Your data in %APPDATA%\muffin |
If the Windows uninstaller cannot remove the TUN service, it says so; remove it from an administrator command prompt with sc delete muffin-service-<SID>, using the name it shows.
Troubleshooting lists every file Muffin keeps.