Upgrade and remove
Install a newer release over the current one, recover a file the upgrade replaced, and remove OpenUltraCode.
Upgrade#
Run the installer again. It replaces the release and keeps your fusion models.
curl -fsSL https://raw.githubusercontent.com/belikh/OpenUltraCode/main/install.sh | shirm https://raw.githubusercontent.com/belikh/OpenUltraCode/main/install.ps1 | iexRestart opencode after the upgrade.
Recover a replaced file#
When an upgrade replaces a skill, command or agent file with different content, it saves the old file first and prints the list:
OpenUltraCode: 2 installed file(s) changed; the previous versions are in /home/you/.config/opencode/open-ultracode-backup:
agents/open-ultracode-implementer.md
skills/open-ultracode/SKILL.mdCopy your changes from open-ultracode-backup/ into the new file. The next install empties the directory before it saves anything, so recover your changes before you upgrade again.
Remove#
curl -fsSL https://raw.githubusercontent.com/belikh/OpenUltraCode/main/install.sh | sh -s -- --removeirm https://raw.githubusercontent.com/belikh/OpenUltraCode/main/install.ps1 -OutFile install.ps1
.\install.ps1 -RemoveRemoval deletes the skill, the nine commands, the ten agents, the release directory and the OpenUltraCode entries in opencode.json. It keeps your own agents and commands, every other setting, and open-ultracode-backup/.
Workflow records stay in each project under .opencode/open-ultracode/. Delete that directory to remove them.
Remove an installation from before 2.1.0#
The installer loads its removal code from the installed release. A release older than 2.1.0 does not have it, and the installer stops with this message:
OpenUltraCode: /home/you/.local/share/open-ultracode was installed by an older release. Run this installer once without --remove to update it, then try again.Upgrade once, then remove.