Skip to content

CLI ​

Every LemonUp command prints a short report you can read. For scripts, --json prints the same result as one JSON object. Running lemonup without a command opens the TUI.

Changed in 2.9.0

Commands used to print key=value lines such as check summary: .... They now print a readable report, and scripts read --json instead. install-wago --stability is now --channel. The old name still works.

Basic Usage ​

bash
# Launch the TUI (default)
lemonup

# Check all linked addons for updates
lemonup check

# Update all linked addons
lemonup update-all

Commands ​

CommandDescription
tuiLaunch the TUI (same as running lemonup alone)
syncScan the AddOns folder and update LemonUp's list
profilesList your games: name, game version, AddOns folder, addon count
findFind where your "Not linked" addons come from, and link them with --link
check [ADDON]...Check for updates
update [ADDON]...Update the named addons, or all when none are given
update-allUpdate all linked addons
install-github <URL>Install from a GitHub repository URL
install-tukui <ADDON>Install ElvUI or Tukui (elvui, tukui, or a URL)
install-wowinterface <URL>Install from a WoWInterface addon page URL
install-wago <ADDON>Install from Wago.io by slug or URL
export-addonsExport your addon list to a JSON file
import-addonsImport an addon list and install what's missing
restore-backup [BACKUP_ZIP]Restore a backup of your game settings (the newest one if none is given)
toc <ADDON> [FIELD] [VALUE]Show an addon's Title, Notes and Category, or change one in its .toc files
help [COMMAND]Show help for LemonUp or a command

ADDON is an exact addon name or folder name, for example lemonup update WeakAuras. Case doesn't matter. For a linked Wago.io, WoWInterface, or TukUI addon, both the source's name and the .toc Title work. A folder name always wins. When a name fits more than one addon, the command stops with More than one addon is named X: A, B. Use the folder name instead.

Global Options ​

These go before the command, for example lemonup --profile forever check. --json works before or after it.

Each of your games is a profile on the command line. Without --profile, every command uses the default game. Only plain lemonup (the TUI) is different: it opens the game you used last. Run lemonup profiles to see the names. See Games and Profiles.

Each profile is bound to one AddOns folder. With --addon-dir pointing somewhere else, commands that change state are refused (the error suggests a separate --profile) and check runs read-only with a warning. See One Folder per Profile.

OptionDescription
--profile <PROFILE>Use this game's profile. Without it, the TUI opens the game you used last and every other command uses the default game
--addon-dir <PATH>AddOns folder for this run; must be the folder the profile is bound to
--jsonPrint one JSON object instead of the readable report. See JSON for Scripts
--version, -vShow the version number
--help, -hShow help information

Command Options ​

OptionCommandsDescription
--forceupdate, update-allReinstall even when current, or install an older remote version
--dry-runupdate, update-all, install-*, import-addonsPreview changes without applying them
--replaceupdate, update-allReplace "Not linked" folders the new version brings, instead of skipping the addon
--channel <CHANNEL>install-wagostable (default), beta, or alpha
--output <FILE>export-addonsWrite to this file (default ~/lemonup-addons.json)
--input <FILE>import-addonsRead from this file (default ~/lemonup-addons.json)
--cleartocGive the field back the addon's own value
--yestocChange the files of a "Not linked" addon
--linkfindLink the exact matches to their sources. Nothing is downloaded
--yesfind (with --link)Allow links that move folders between addons
--source <SOURCES>findAsk only these sources: wago, wowinterface, tukui, separated by commas. Default: all

Examples ​

Check and Update ​

bash
# Check everything, then show details for one addon
lemonup check
lemonup check WeakAuras

# Preview, then update all addons
lemonup update-all --dry-run
lemonup update-all

# Re-download all addons even if they're up to date
lemonup update-all --force

Install ​

bash
lemonup install-github https://github.com/AdiAddons/AdiBags
lemonup install-tukui elvui
lemonup install-wowinterface https://www.wowinterface.com/downloads/info12345-AddonName.html
lemonup install-wago <slug-or-url> --channel beta

Add --dry-run to see what an install would bring, without changing anything:

text
Retail  ~/Games/World of Warcraft/_retail_/Interface/AddOns

Would install AdiBags v1.10.29 from GitHub
  Folders  AdiBags, AdiBags_Config

Dry run - no changes

Find Where Your Addons Come From ​

lemonup find looks for the sources of your "Not linked" addons and prints what it found. --link links the exact matches.

bash
# Look, and read the report
lemonup find

# Link the exact matches
lemonup find --link

find asks three places:

  • Wago.io matches your addon folders by their file fingerprints. This sends the folder names and file hashes of your "Not linked" addons to Wago.io, and needs your Wago.io key. Without a key, find skips Wago.io, says so, and still asks the other two.
  • WoWInterface is matched on your computer, from its public file list (LemonUp keeps a copy for an hour).
  • TukUI is checked for ElvUI and Tukui.

--source picks which of them find asks, for example lemonup find --source wowinterface,tukui. Without it, find asks every source. The choice saved in the TUI is not used. When find doesn't ask every source, the "Not found" section names the ones it asked, for example "Not found on WoWInterface and TukUI".

find never searches by name. An addon with no sure match stays "Not linked".

The report has a section for each kind of result:

SectionWhat it means
Ready to linkAn exact match. --link links these
Can't link yetAn exact match that can't be linked now. The line says why
Likely matchesProbably the right source, but the files or version differ. Not linked by find
Partial matchesWago.io knows the addon, but some of its folders differ or are missing
Choose one in LemonUpMore than one possible source. find does not pick for you
Not checkedA source failed, so these addons could not be checked
On CurseForge onlyOnly a CurseForge ID was found. LemonUp can't update from CurseForge
Not foundNo source knows this addon
Skipped, developer copyA symlink or a folder with .git. find skips it
text
Retail  ~/Games/World of Warcraft/_retail_/Interface/AddOns
Sent 52 folder names and file hashes to Wago.io.

Ready to link (3)
  Deadly Boss Mods  Wago.io       12.0.8, update ready (12.0.10)
  ElvUI             TukUI         14.04
  HandyNotes        WoWInterface  v1.6.14

Likely matches (1)
  Bagnon  WoWInterface  installed 11.0.1, WoWInterface has 11.0.2

Not found (2)
  MyGuildTools, SlashCmdHelper

Skipped, developer copy (1)
  MyAddon

Nothing changed - 3 addons ready to link
Run `lemonup find --link` to link them

--link links only the exact matches. It reads your AddOns folder first, writes LemonUp's list, and downloads nothing. The addons keep the version you have, and show "Update ready" if the source has a newer one. To update them, run lemonup update-all.

Sometimes linking an exact match moves folders between addons. For example, the source ships several folders as one addon, and LemonUp lists some of them as separate addons now. Then --link stops and says which folders would move. Nothing is linked. Run it again with --yes if the move is what you want:

bash
lemonup find --link --yes

LemonUp never takes a folder from another linked addon. A match that would need one is listed under "Can't link yet".

When CurseForge also manages an addon --link linked, the report ends with CurseForge also manages Pawn. Mark it Ignored there (Install Settings). LemonUp only reads CurseForge's install list.

For scripts, lemonup find --json prints the same results as one JSON object. summary counts each kind of result, and addons lists every addon with its label (exact, likely, partial, choose_one, not_checked, curseforge_only, not_found or developer_copy) and its match. With --link, link lists what was linked.

--plain is going away

find --plain still prints its old key=value lines, so scripts written for it keep working. It is no longer listed in --help and will be removed in LemonUp 3.0. Use --json instead.

List Your Games ​

bash
lemonup profiles
text
Games (2)
  default  Retail       /games/wow/_retail_/Interface/AddOns   18 addons
  forever  WoW Forever  /games/wow/_forever_/Interface/AddOns  3 addons

The first column is the name you pass to --profile. A game LemonUp can't read says why under its line.

bash
lemonup --profile forever check
lemonup --profile forever update-all

Move Your Addon List ​

bash
lemonup export-addons --output addons.json
lemonup import-addons --input addons.json --dry-run
lemonup import-addons --input addons.json

Edit .toc Fields ​

FIELD is title, notes or category.

bash
# Show Title, Notes and Category, and where each value comes from
lemonup toc Clique

# File Bagnon under its own heading in the game's AddOns list
lemonup toc Bagnon category Bags

# Give it back the addon's own Category
lemonup toc Bagnon category --clear
text
Title     Clique
Notes     Click-cast bindings
Category  Unit Frames

A value you changed ends with (yours), or with (yours, not in the files) when the files say something else, for example after another program rewrote them, so the game doesn't show it. With --json, each field has a source: addon (the addon's own value), override or override_not_applied.

Output ​

Every command prints a report made the same way: a line with the game and its AddOns folder, a section for each kind of result with a count, and a last line that says what happened and what to run next.

text
Retail  /games/wow/_retail_/Interface/AddOns

Update ready (3)
  BugSack     WoWInterface  v12.1.8 → v12.1.9
  ElvUI       TukUI         16.01 → 16.02
  HandyNotes  WoWInterface  v1.6.30 → v1.6.32

Up to date (14)

3 updates ready. Run `lemonup update-all` to update all.

Only addons that changed or need your attention get a row. The rest are counted, as in Up to date (14). Name the addons you want to see in full, for example lemonup check HandyNotes.

update and update-all use the same shape:

text
Retail  /games/wow/_retail_/Interface/AddOns

Made a backup of your game settings: /data/backups/retail/WTF-2026-11-22-2140.zip

Updated (2)
  ✓ Deadly Boss Mods  Wago.io  12.0.8 → 12.0.10
  ✓ Details           GitHub   v1.2 → v1.3

Held (1)
  ElvUI  TukUI  14.04 → 14.05
      Would replace Not linked folders: ElvUI_Options, ElvUI_Libraries.
      Run again with `--replace`.

Failed (1)
  Bagnon  WoWInterface  11.0.1
      WoWInterface didn't answer

Up to date (9)
Not linked (4)

2 updated, 1 held, 1 failed.

The report is the same in a terminal and in a pipe. On a terminal it uses your terminal's own colors, whatever theme is saved in the TUI, and every state also has its word. It is plain text in a pipe and with NO_COLOR.

The report goes to stdout. Warnings and notices go to stderr, so a pipe gets only the result.

When a Command Can't Run ​

A command that can't do its job prints why on stderr, prints nothing on stdout, and exits with 1:

text
✗ Check failed
  No linked addon matches: Nope.
  Use exact addon names or folder names, or run `lemonup check` to see the overall summary.

Progress ​

While a command waits on the network, a line with a spinner on stderr says what it is doing. It is erased before the report. It only shows on a terminal, never in a pipe and never with --json.

LemonUp also shows progress in your terminal's own progress bar, in the tab or the title bar, where the terminal draws one (for example Ghostty, WezTerm, iTerm2, Windows Terminal and Ptyxis). Turn it off with "Terminal progress bar" in Settings.

Sections ​

The sections use the same words as the TUI:

SectionShown byMeaning
Update readycheckThe source has a newer version
UpdatedupdateThe addon was updated. Would update in a dry run
Up to datecheck, updateInstalled version matches the source
Newer than sourcecheck, updateThe source's version is lower than the installed one. Not installed without --force
HeldupdateThe update would replace "Not linked" folders. Nothing changed. The row names them; run again with --replace
Not linkedupdateLemonUp doesn't know where the addon came from
Skipped, no Wago.io keyupdateA Wago.io addon, and no Wago.io key is saved
Not checked yetcheckThe status could not be determined, for example a Wago.io addon without a key
Check failedcheckThe check failed. The row says why
FailedupdateThe update failed. The row says why

sync ends with one line, such as ✓ 40 addons found - sync complete, and lists the addon folders it could not read. If a leftover .lemonup-staging-* folder is found in AddOns, it says so on stderr (see Troubleshooting).

"Newer than source" only applies when both versions are dotted numbers (for example 12.1.5 or v4.3.5). GitHub addons, which are compared by release tag or commit, and versions that cannot be compared are not marked newer.

JSON for Scripts ​

--json prints one JSON object on one line, on stdout, and nothing else. It works on every command and is the same in a terminal and in a pipe.

bash
lemonup --json check
json
{"schema":1,"command":"check","profile":"default","addon_dir":"/games/wow/_retail_/Interface/AddOns","summary":{"checked":17,"up_to_date":14,"update_available":3,"remote_older":0,"unknown":0,"errors":0},"addons":[{"name":"HandyNotes","folder":"HandyNotes","source":"wowinterface","status":"update_available","installed_version":"v1.6.30","remote_version":"v1.6.32","message":"the source has a different version than the installed one","error_kind":null}],"warnings":[]}

Every object starts with schema, command, profile and addon_dir, and ends with warnings. Most have a summary with the counts and an addons list. What to rely on:

  • Every addon is listed, also the ones the readable report only counts.
  • A missing value is null, never left out.
  • When a command can't run, stdout is empty. The reason is on stderr and the exit code is 1. So stdout is one valid JSON object or nothing.
  • Fields are only added. A rename or removal raises schema, which is 1 now.
  • update-all reports "command":"update".

source is github, wago, wowinterface, tukui, or manual for a "Not linked" addon.

Statuses ​

Each addon in the list has a status:

StatusShown byIn the reportMeaning
up_to_datecheck, updateUp to dateInstalled version matches the source
update_availablecheckUpdate readyThe source has a newer version
updatedupdateUpdatedThe addon was updated, or would be in a dry run
remote_oldercheck, updateNewer than sourceThe source's version is lower than the installed one
heldupdateHeldThe update would replace "Not linked" folders. replaces lists them
skipped_manualupdateNot linkedLemonUp doesn't know where the addon came from
skipped_no_api_keyupdateSkipped, no Wago.io keyA Wago.io addon, and no Wago.io key is saved
unknowncheckNot checked yetThe status could not be determined
errorcheck, updateCheck failed, FailedThe check or update failed. message says why

import-addons has its own: installed, would_install, already_installed, skipped_manual, skipped_duplicate, skipped_unsupported and error.

Backup Before Updates ​

When "Back up my game settings before updates" is on (backup_wtf), update and update-all back up your game settings (the WTF folder) first, but not with --dry-run. The report says what happened:

text
Made a backup of your game settings: <path>
Backup of your game settings skipped, the last one is 12 min old

A backup is skipped when the newest one is less than 60 minutes old. A failed backup does not stop the update, and the report says so. With --json, backup holds the same: its status is created, skipped, failed or not_run.

Automation ​

Cron Job Example ​

Update all addons daily at 6 AM:

bash
0 6 * * * /usr/local/bin/lemonup update-all 2>&1 | logger -t lemonup

Shell Script Example ​

update-all exits with 1 if any addon fails:

bash
#!/bin/bash
# Update addons before launching WoW

if lemonup update-all; then
    echo "Addons updated successfully"
else
    echo "Some addons failed to update"
    exit 1
fi

Check Only ​

Report whether updates are waiting. An available update is not an error: check the exit code first, then read the count from --json (this example uses jq).

bash
#!/bin/bash
if ! output=$(lemonup --json check); then
    echo "Update check failed"
    exit 1
fi

ready=$(jq '.summary.update_available' <<< "$output")
[ "$ready" -gt 0 ] && echo "$ready addon updates available"

List the addons with an update ready:

bash
lemonup --json check | jq -r '.addons[] | select(.status == "update_available") | .name'

Exit Codes ​

CodeMeaning
0Success
1The command failed, or at least one addon failed
2Invalid arguments

Exit code 1 covers:

  • update, update-all, and import-addons when any addon ends with an error, and update and update-all when any addon is held. "Newer than source", "Not linked" and "Skipped, no Wago.io key" are not errors.
  • check when any addon check ends with an error. An available update is not an error, and with nothing linked check exits 0.
  • sync, update, update-all, and find when there is no config yet or no AddOns folder is configured.
  • find when a source failed, for example when Wago.io didn't answer. The report still shows what the other sources found.
  • Install commands when the install fails, or is skipped because no AddOns folder is configured (or, for install-wago, no Wago.io key is set).
  • Errors that stop a command, such as an invalid AddOns folder or an --addon-dir that does not match the profile's folder. These say why on stderr.
  • find --link when linking would move folders between addons and you did not pass --yes. Nothing is linked, and the message says what to run.

Environment Variables ​

VariableDescription
WAGO_API_KEYWago.io key, used when none is saved in Settings
GITHUB_TOKEN or GH_TOKENGitHub token that raises the GitHub API rate limit
NO_COLORPrint without colors
FORCE_HYPERLINKFile and folder paths in a report are links you can click in terminals known to support them. 1 turns the links on anywhere, 0 turns them off
RUST_LOGLog level filter, for example RUST_LOG=debug

CLI commands write logs to stderr as JSON lines. The TUI writes them to logs/lemonup.log in the profile's data folder instead. Release builds only log warnings and errors by default; set RUST_LOG to see more. See Configuration.

Released under the MIT License.