| name | bryllen-update |
| description | Update bryllen to the latest version |
/bryllen-update
Update everything in one shot — npm package, migrations, and Claude Code plugin.
Steps
-
Update the npm package (pulls latest from GitHub + runs migrations):
npx bryllen update
-
Get the new version number — read it from the installed package:
node -e "console.log(require('./node_modules/bryllen/package.json').version)"
-
Commit migration changes — migrations modify consumer files (App.tsx, CLAUDE.md, settings.json, etc.). Commit them so there's a rollback point:
git add -A && git diff --cached --quiet || git commit -m 'chore: bryllen update migrations'
(The diff --quiet check skips the commit if migrations made no changes.)
-
Update the plugin marketplace repo (git pull updates skills and CLAUDE.md):
cd ~/.claude/plugins/marketplaces/bryllen && git pull origin main 2>/dev/null; cd -
-
Tell the user:
- "Updated to bryllen v{version}" — show the version number from step 2
- Migration changes committed (can
git revert if needed)
- They must restart this Claude Code session for plugin changes to take effect
- If the dev server was running, restart it with
/bryllen-design
Why no claude plugin update?
claude plugin update cannot run inside a Claude Code session (nested sessions crash). The git pull in step 4 already updates all plugin files on disk — the restart picks them up.