Legacy To Homebrew
Section titled “Legacy To Homebrew”Use this guide when you are moving off the legacy install script and want to keep Crona on Homebrew afterward.
Use crona-beta instead of crona if you want to stay on the beta track.
Estimated time: 15-20 minutes, plus any extra time needed to finish backup and restore on a large dataset.
Stop Crona, run the beta installer once, back up the database, clear the old runtime, remove the old binaries, and switch to Homebrew. If you are moving between stable and beta Homebrew tracks, only the install command changes.
Before You Start
Section titled “Before You Start”Stop every running Crona process before you touch the install.
Close any open TUI windows, CLI sessions, and background Crona processes. If a process is still running after you close the app, stop it manually with your operating system tools.
1. Download The Latest Beta Installer
Section titled “1. Download The Latest Beta Installer”Download the legacy installer script for your platform from the latest beta release page on GitHub Releases.
- macOS and Linux:
install-crona-tui.sh - Windows:
install-crona-tui.ps1
2. Run The Legacy Installer Once
Section titled “2. Run The Legacy Installer Once”Make the script executable, run it, and allow it to replace the existing install when prompted.
chmod +x install-crona-tui.sh./install-crona-tui.shKeep the existing install selected when the script asks whether to overwrite the current version.
3. Back Up Your Database
Section titled “3. Back Up Your Database”Run:
crona backupThe command prints the backup path. Keep that path for the restore step.
4. Remove The Runtime Directory
Section titled “4. Remove The Runtime Directory”Remove the Crona runtime directory after the backup is complete.
- macOS prod:
~/Library/Application Support/Crona - macOS dev:
~/Library/Application Support/Crona Dev - Linux prod:
${XDG_DATA_HOME:-~/.local/share}/crona - Linux dev:
${XDG_DATA_HOME:-~/.local/share}/crona-dev
If you only use the production install, the prod path is the one to remove.
5. Remove The Legacy Binaries
Section titled “5. Remove The Legacy Binaries”Remove the old binaries from your PATH.
Typical locations:
~/.local/bin/crona~/.local/bin/crona-daemon~/.local/bin/crona-tui
If you installed somewhere else, remove those copies too.
6. Install Homebrew
Section titled “6. Install Homebrew”Install the package manager version you want to keep:
brew tap webxsid/tapbrew install cronaFor the beta track, use:
brew install crona-beta7. Restore The Backup
Section titled “7. Restore The Backup”Run:
crona restore <path-to-backup>If the runtime directory already contains a crona.db, Crona prompts before overwriting it.
After Migration
Section titled “After Migration”- Homebrew now owns install, update, and uninstall.
- Stable updates use
brew upgrade crona. - Beta updates use
brew upgrade crona-beta. crona backupandcrona restoreonly movecrona.db.
Contact
Section titled “Contact”If something is unclear or the install does not line up with these steps, contact me directly:
- Email:
me@webxsid.com - WhatsApp:
+91-6375728437