# Updating (https://talivia.com/docs/self-hosting/updates)



Use the latest npm installer to update the existing application:

```bash
npx --yes @talivia/lifetime-installer@latest --name talivia update
```

Enter the same license key, authorize Cloudflare and select the original account. Use your existing Worker name if it differs from `talivia`.

In your installed application, open **Settings → Preferences → Updates** to check for a release and copy the update command. That command also selects the installation's Cloudflare account.

The updater validates the license and signed release, applies migrations and deploys the application. It keeps the D1 data, owner account, password and application secret. It waits for the updated application to respond before reporting success.

Updates come from Talivia's separate Lifetime release stream. A public open-source release is not installed into a Lifetime deployment. The npm package updates the installer; the application itself is downloaded through the licensed release service.

You can update from another computer. Choose the same Cloudflare account and Worker name; the installer recovers the installation identity from Cloudflare.

If an update stops, keep the database and retry the same command after fixing the reported issue. An installation transferred to another key must use its current key from [Payments](https://talivia.com/app/settings/payments).
