Pre-Upgrade Check & Backup
nyairo installs the application under ~/.local/share/nyairo and stores your personal data (SOUL.md, model API keys, chat database, and memories) separately in ~/.nyairo. Normal upgrades do not overwrite personal data, but because v0.8.0 is still in an active public beta cycle, exit any running chat sessions and gateway processes before upgrading and take a quick backup archive:
tar -czf "$HOME/nyairo-backup-$(date +%Y%m%d-%H%M%S).tar.gz" -C "$HOME" .nyairoOne-Command Upgrade (nyairo update)
- Windows Desktop users: Download the new
setup.exeand run it directly over your existing installation; on first launch it automatically detects and syncs the runtime package inside WSL. - Linux / WSL terminal users: First check whether a newer release is available:
nyairo update --checkWhen you are ready to upgrade (the public beta channel requires specifying a version tag, such as v0.8.0), run:
nyairo update --version v0.8.0The updater automatically downloads the official release archive, verifies its SHA256 checksum and file manifest, configures the new environment, and switches the active entry point.
One-Command Rollback & Interrupted Recovery
- Revert to the previous version: If a change in the new release does not feel right after upgrading, exit nyairo and run the command below to switch back to your prior version—all chat history and memories formed while using the new version are preserved, with zero data rewind:
bash
nyairo update --rollback - Recovering from network drops or unexpected shutdowns: If an upgrade is interrupted mid-way by a dropped connection or closed terminal, run
nyairo update --recoverthe next time you open a shell to automatically clean up partial state and restore a working setup.