Update and remove¶
Update¶
An update brings the newest release of Lem. If you use Lem 0.3, follow the steps for Lem 0.3. Update the app and the plugin together:
brew upgrade pySilver/tap/lem
claude plugin marketplace update lem
claude plugin update lem@lem --scope project
Then start a new session, which also replaces the board server. Update the plugin in each
repository: one board server serves them all. lem doctor shows each one you missed.
- The app and the plugin must have the same release. When they differ, a command of Lem stops with
one line that names the part that is behind.
lem doctor,lem helpandlem versionstill answer. - Auto-update of the plugin is off when you install Lem. To turn it on, type
/plugin, open Marketplaces, selectlem, and turn on auto-update. Then update the app too. - A live session keeps its old plugin loaded. If the app has a different release, Lem refuses task commands in that session. Start a new session with the matching plugin.
- Your release:
lem versiongives it.claude plugin listshows the plugin's, on theVersionline oflem@lem. - A release older than a teammate's: git does not share
.lem/state/, so your tasks stay yours. When the teammate's release adds a key to.lem/settings.toml, your Lem stops at each command and names the key. Update, and Lem goes on. - A task in the current record format begun two releases back stops, and its message gives the way on (below).
- A bad release is not taken back: a newer release repairs it.
Update over HTTPS¶
If the plugin update shows git@github.com: Permission denied (publickey), GitHub refused the SSH connection.
If you have no GitHub SSH key, run this command for a user install of Lem.
env GIT_CONFIG_COUNT=1 \
GIT_CONFIG_KEY_0=url.https://github.com/.insteadOf \
GIT_CONFIG_VALUE_0=git@github.com: \
claude plugin update lem@lem --scope user
Git uses HTTPS for GitHub for this command only. For a project install, use --scope project.
From Lem 0.3¶
Repositories that use Lem 0.3 start over. Lem 1.0 cannot read their task records.
- Stop the Lem 0.3 board server with
/lem serve stop. - Close your Lem 0.3 sessions.
- Update the app and plugin with the commands above.
- Run
lem doctorin each repository that uses Lem. Its "folders of Lem 0.3" row names the folders to move. - Move those folders aside.
- Start a new session and set up the repository.
A task of an older release¶
These steps apply to tasks that use the current record format. Lem reads such tasks from its own release and the release just before it. A task begun two releases back or more stops at its first command. The board shows it as blocked.
The message names the release and tells you how to continue. Type /lem drop <task>. Then type
/lem resume <task>. Lem starts a new request from the branch, its commits and the task notes.
The new session asks for your yes to the criteria.
Remove¶
- Merge or drop each open task.
- Remove the cronn jobs of this repository.
- If no other repository uses Lem, type
/lem serve tailscale offand/lem serve stop. - Run
claude plugin uninstall lem@lem --scope project. - Run
claude plugin marketplace remove lem --scope project. - Remove Lem's allow rules from
.claude/settings.local.json. - Run
git rm -r .lem, and commit. - Delete the folder
.lem/. - If no other repository uses Lem, run
brew uninstall lem, and delete~/.config/lem/and$TMPDIR/lem-ask/.