Update Management: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
Gausie (talk | contribs)
m Add update-kolmafia
Buckets (talk | contribs)
added powershell script to the list
Line 9: Line 9:


https://github.com/C2Talon/update-kolmafia
https://github.com/C2Talon/update-kolmafia
'''Powershell Auto-Update Script by BigVinnie (Windows)'''
https://kolmafia.us/threads/powershell-to-auto-update-kolmafia.29816/

Revision as of 04:08, 16 September 2025

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


Powershell Auto-Update Script by BigVinnie (Windows)

https://kolmafia.us/threads/powershell-to-auto-update-kolmafia.29816/