Skip to content

Installation

Nerokin edited this page Nov 24, 2026 · 1 revision

Requirements

  • bash 4.3 or newer, and the usual tools (awk, sed, find, df)
  • curl for every mode
  • jq (every mode reads its config files with it)
  • unzip for worlds (and for AppImages released as zips; tar for .tar.* ones)
  • sha256sum and sha512sum for ISOs
  • fzf, optional, for the menu and for picking AppImages to remove
  • update-desktop-database (desktop-file-utils), optional, to refresh the desktop database after AppImage desktop entries change

Each mode checks for what it needs and says what's missing.

Install

git clone https://github.com/Nykorin/update-tools.git
mkdir -p ~/.local/bin
ln -s "$PWD/update-tools/update-tools" ~/.local/bin/update-tools

The command finds its lib/ folder through the symlink, so it can be linked from anywhere on your PATH.

Settings

Each mode works in one folder, set in ~/.config/update-tools/update-tools.cfg (or under $XDG_CONFIG_HOME), which also says how often an item is checked:

app_dir=~/AppImages
apw_dir=~/Games/Archipelago/custom_worlds
iso_dir=/run/media/me/Ventoy
# skip items checked in the last skip_hours hours (168: weekly); off: check every item every run
skip_checked=on
skip_hours=24

The file is read as key=value data, never run as shell code (comments go on their own lines); a leading ~ or $HOME is expanded. AppImages default to ~/AppImages. Worlds and ISOs have no default: until their key is set, their mode stops with a message naming it. -m MODE -r DIR overrides a mode's folder for one run, and update-tools -h settings shows the folders in use.

GitHub token

Without a token GitHub allows 60 API requests an hour, which a long list of items can use up. With one it's 5000, and unchanged release lists cost nothing (the scripts send each list's ETag back).

Put a token (no scopes needed) in $GITHUB_TOKEN, or on the first line of ~/.config/update-tools/github_token with chmod 600. It's sent to api.github.com only, on curl's standard input, so it never shows up in the process list.

Next: Usage, then Adding items.

Clone this wiki locally