Quick install (recommended)
This is the easiest way to install Cojudge—no macOS xattr command, no browser download warnings, and no manual package hunting:
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/cojudge/cojudge/main/install-desktop.sh | sh -s -- v0.10.1
Windows (PowerShell):
$env:COJUDGE_VERSION='v0.10.1'; irm https://raw.githubusercontent.com/cojudge/cojudge/main/install-desktop.ps1 | iex
Or on Windows via winget:
winget install -e --id Cojudge.Cojudge
Automatic updates
Cojudge checks github.com/cojudge/cojudge/releases for new versions automatically on startup (desktop only).
Use the menu → Check for Updates button (under Light/Dark theme) to check manually, install in-app, and restart to apply.
- macOS (universal .dmg / .app.tar.gz): in-app install supported when launched from /Applications.
- Windows (-setup.exe): in-app install supported; the installer restarts the app automatically.
- Linux: in-app install supported for the .AppImage. If you installed via .deb/.rpm, download the new package manually.
Manage Problems
You can add or edit problems without having to clone the repo, modify files and build a new binary!
All you need is to go to ~/cojudge to add or edit files there:
- /problems/[slug] for adding new problems. You can also view or edit existing problems
- /courses/[id]/courseinfo.json for adding new course. You can also view or edit existing courses
Optional: You can install the cojudge desktop CLI via GUI to verify your new problems programmatically after adding them.
View ~/cojudge/README.md for a more detailed guide.
Add problems with a coding agent
Paste the following prompt into your coding agent to easily add problems (requires the cojudge desktop CLI above):
Look at ~/cojudge/README.md, please add this problem: {URL}
Linux installation (x86_64)
The curl command above installs the .AppImage to ~/.local/bin/cojudge-desktop (or set COJUDGE_LINUX_FORMAT=deb / rpm). Or install manually:
Ubuntu, Debian, and Pop!_OS: download the .deb and install it with:
sudo apt install ./Cojudge_0.10.1_amd64.deb
Fedora: download the .rpm and install it with:
sudo dnf install ./Cojudge-0.10.1-1.x86_64.rpm
Arch Linux and other compatible Linux distributions: download the .AppImage, make it executable, and run it:
chmod +x Cojudge_0.10.1_amd64.AppImage
./Cojudge_0.10.1_amd64.AppImage
If the AppImage reports a missing libfuse.so.2 on Arch, install fuse2 with sudo pacman -S fuse2.
macOS installation
Using the curl command above avoids browser quarantine, so no xattr step is needed.
If you download the .dmg in a browser, the macOS application is ad-hoc signed and not notarized, so after dragging Cojudge.app into /Applications, run:
xattr -dr com.apple.quarantine /Applications/Cojudge.app
What's Changed
- Fix stale bundled problem packs on Windows upgrades by @anslwy in #204
Full Changelog: v0.10.0...v0.10.1