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
# Launch the TUI (default)
lemonup
# Check all linked addons for updates
lemonup check
# Update all linked addons
lemonup update-allCommands
| Command | Description |
|---|---|
tui | Launch the TUI (same as running lemonup alone) |
sync | Scan the AddOns folder and update LemonUp's list |
profiles | List your games: name, game version, AddOns folder, addon count |
find | Find 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-all | Update 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-addons | Export your addon list to a JSON file |
import-addons | Import 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.
| Option | Description |
|---|---|
--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 |
--json | Print one JSON object instead of the readable report. See JSON for Scripts |
--version, -v | Show the version number |
--help, -h | Show help information |
Command Options
| Option | Commands | Description |
|---|---|---|
--force | update, update-all | Reinstall even when current, or install an older remote version |
--dry-run | update, update-all, install-*, import-addons | Preview changes without applying them |
--replace | update, update-all | Replace "Not linked" folders the new version brings, instead of skipping the addon |
--channel <CHANNEL> | install-wago | stable (default), beta, or alpha |
--output <FILE> | export-addons | Write to this file (default ~/lemonup-addons.json) |
--input <FILE> | import-addons | Read from this file (default ~/lemonup-addons.json) |
--clear | toc | Give the field back the addon's own value |
--yes | toc | Change the files of a "Not linked" addon |
--link | find | Link the exact matches to their sources. Nothing is downloaded |
--yes | find (with --link) | Allow links that move folders between addons |
--source <SOURCES> | find | Ask only these sources: wago, wowinterface, tukui, separated by commas. Default: all |
Examples
Check and Update
# 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 --forceInstall
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 betaAdd --dry-run to see what an install would bring, without changing anything:
Retail ~/Games/World of Warcraft/_retail_/Interface/AddOns
Would install AdiBags v1.10.29 from GitHub
Folders AdiBags, AdiBags_Config
Dry run - no changesFind 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.
# Look, and read the report
lemonup find
# Link the exact matches
lemonup find --linkfind 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,
findskips 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:
| Section | What it means |
|---|---|
| Ready to link | An exact match. --link links these |
| Can't link yet | An exact match that can't be linked now. The line says why |
| Likely matches | Probably the right source, but the files or version differ. Not linked by find |
| Partial matches | Wago.io knows the addon, but some of its folders differ or are missing |
| Choose one in LemonUp | More than one possible source. find does not pick for you |
| Not checked | A source failed, so these addons could not be checked |
| On CurseForge only | Only a CurseForge ID was found. LemonUp can't update from CurseForge |
| Not found | No source knows this addon |
| Skipped, developer copy | A symlink or a folder with .git. find skips it |
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:
lemonup find --link --yesLemonUp 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
lemonup profilesGames (2)
default Retail /games/wow/_retail_/Interface/AddOns 18 addons
forever WoW Forever /games/wow/_forever_/Interface/AddOns 3 addonsThe first column is the name you pass to --profile. A game LemonUp can't read says why under its line.
lemonup --profile forever check
lemonup --profile forever update-allMove Your Addon List
lemonup export-addons --output addons.json
lemonup import-addons --input addons.json --dry-run
lemonup import-addons --input addons.jsonEdit .toc Fields
FIELD is title, notes or category.
# 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 --clearTitle Clique
Notes Click-cast bindings
Category Unit FramesA 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.
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:
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:
✗ 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:
| Section | Shown by | Meaning |
|---|---|---|
| Update ready | check | The source has a newer version |
| Updated | update | The addon was updated. Would update in a dry run |
| Up to date | check, update | Installed version matches the source |
| Newer than source | check, update | The source's version is lower than the installed one. Not installed without --force |
| Held | update | The update would replace "Not linked" folders. Nothing changed. The row names them; run again with --replace |
| Not linked | update | LemonUp doesn't know where the addon came from |
| Skipped, no Wago.io key | update | A Wago.io addon, and no Wago.io key is saved |
| Not checked yet | check | The status could not be determined, for example a Wago.io addon without a key |
| Check failed | check | The check failed. The row says why |
| Failed | update | The 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.
lemonup --json check{"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 is1now. update-allreports"command":"update".
source is github, wago, wowinterface, tukui, or manual for a "Not linked" addon.
Statuses
Each addon in the list has a status:
| Status | Shown by | In the report | Meaning |
|---|---|---|---|
up_to_date | check, update | Up to date | Installed version matches the source |
update_available | check | Update ready | The source has a newer version |
updated | update | Updated | The addon was updated, or would be in a dry run |
remote_older | check, update | Newer than source | The source's version is lower than the installed one |
held | update | Held | The update would replace "Not linked" folders. replaces lists them |
skipped_manual | update | Not linked | LemonUp doesn't know where the addon came from |
skipped_no_api_key | update | Skipped, no Wago.io key | A Wago.io addon, and no Wago.io key is saved |
unknown | check | Not checked yet | The status could not be determined |
error | check, update | Check failed, Failed | The 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:
Made a backup of your game settings: <path>
Backup of your game settings skipped, the last one is 12 min oldA 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:
0 6 * * * /usr/local/bin/lemonup update-all 2>&1 | logger -t lemonupShell Script Example
update-all exits with 1 if any addon fails:
#!/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
fiCheck 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).
#!/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:
lemonup --json check | jq -r '.addons[] | select(.status == "update_available") | .name'Exit Codes
| Code | Meaning |
|---|---|
0 | Success |
1 | The command failed, or at least one addon failed |
2 | Invalid arguments |
Exit code 1 covers:
update,update-all, andimport-addonswhen any addon ends with an error, andupdateandupdate-allwhen any addon is held. "Newer than source", "Not linked" and "Skipped, no Wago.io key" are not errors.checkwhen any addon check ends with an error. An available update is not an error, and with nothing linkedcheckexits0.sync,update,update-all, andfindwhen there is no config yet or no AddOns folder is configured.findwhen 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-dirthat does not match the profile's folder. These say why on stderr. find --linkwhen linking would move folders between addons and you did not pass--yes. Nothing is linked, and the message says what to run.
Environment Variables
| Variable | Description |
|---|---|
WAGO_API_KEY | Wago.io key, used when none is saved in Settings |
GITHUB_TOKEN or GH_TOKEN | GitHub token that raises the GitHub API rate limit |
NO_COLOR | Print without colors |
FORCE_HYPERLINK | File 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_LOG | Log 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.
