Skip to content

legacy to scoop

Use this guide when you are moving off the legacy install script and want to keep Crona managed by Scoop on Windows. Stop Crona, run the beta installer once, back up the database, clear the old runtime, remove the old binaries, install Scoop, and restore the backup.

Estimated time: 20-30 minutes, mainly because the Windows install and restore steps can take a little longer to complete.

Use this guide when the final install should be managed by Scoop rather than the legacy script.

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 Task Manager or Stop-Process.

Download install-crona-tui.ps1 from the latest beta release page on GitHub Releases.

Run the script and allow it to replace the existing install when prompted.

Terminal window
$version = "<version>"
Invoke-WebRequest "https://github.com/webxsid/crona/releases/download/$version/install-crona-tui.ps1" -OutFile "$env:TEMP\install-crona-tui.ps1"
powershell -NoProfile -ExecutionPolicy Bypass -File "$env:TEMP\install-crona-tui.ps1"

Keep the existing install selected when the script asks whether to overwrite the current version.

Run:

Terminal window
crona backup

The command prints the backup path. Keep that path for the restore step.

Remove the Crona runtime directory after the backup is complete.

  • Windows prod: %LocalAppData%\Crona
  • Windows dev: %LocalAppData%\Crona Dev

Remove the old binaries from the previous user install directory if they are still present.

Typical location:

  • %LocalAppData%\Programs\Crona\bin

Install the package manager version you want to keep:

Terminal window
scoop bucket add webxsid https://github.com/webxsid/scoop-bucket
scoop install crona

To stay on the beta track instead, use:

Terminal window
scoop bucket add webxsid https://github.com/webxsid/scoop-bucket
scoop install crona-beta

Run:

Terminal window
crona restore <path-to-backup>

If the runtime directory already contains a crona.db, Crona prompts before overwriting it.

  • Scoop owns install, update, and uninstall.
  • Stable updates use scoop update crona.
  • Beta updates use scoop update crona-beta.
  • crona backup and crona restore only move crona.db.

If you hit a Windows-specific install problem, contact me directly:

  • Email: me@webxsid.com
  • WhatsApp: +91-6375728437