Update Management

From Kolmafia
Revision as of 08:45, 21 May 2025 by Gausie (talk | contribs) (Add update-kolmafia)
Jump to navigation Jump to search

New versions of KoLmafia are posted to the GitHub releases page. To manage updates, many members of the community have produced "automatic update" scripts.

Gausie's One-Liner

In a Unix shell (Linux, Mac and WSL) as long as you have curl and jq installed this should download and run the latest version.

curl -fLsgo kolmafia.jar $(curl -fsg 'https://api.github.com/repos/kolmafia/kolmafia/releases/latest' | jq -r '.assets[] | select(.browser_download_url | contains(".jar")).browser_download_url') && java -jar kolmafia.jar

update-kolmafia

C2Talon has created an application to download and run the latest KoLmafia with binaries for Windows and Unix-like operating systems

https://github.com/C2Talon/update-kolmafia