~2 min read · 3 sections

Upgrading & One-Command Rollback

Upgrades replace only the program directory without touching your chat history or persona; if a new release does not suit you, one command rolls back to the previous version.

On this page (3)▾

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:

bash
tar -czf "$HOME/nyairo-backup-$(date +%Y%m%d-%H%M%S).tar.gz" -C "$HOME" .nyairo

One-Command Upgrade (nyairo update)

  • Windows Desktop users: Download the new setup.exe and 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:
bash
nyairo update --check

When you are ready to upgrade (the public beta channel requires specifying a version tag, such as v0.8.0), run:

bash
nyairo update --version v0.8.0

The 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 --recover the next time you open a shell to automatically clean up partial state and restore a working setup.
Hit a setup snag or spot a doc issue?