> ## Documentation Index
> Fetch the complete documentation index at: https://keyflare.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Updating Keyflare

To update your deployment:

```bash theme={null}
# Update the CLI
npm install -g @keyflare/cli@latest

# Redeploy (idempotent)
kfl init

# For a custom-named instance
kfl init --name keyflare-prod
```

`kfl init` is idempotent. Re-running it:

* Redeploys the Worker
* Keeps the existing `MASTER_KEY` unchanged
* Runs pending migrations
* Safely re-calls bootstrap (no-op if already initialized)

<h2 noAnchor>Next Steps</h2>

<CardGroup cols={2}>
  <Card href="/guides/security-and-backup" title="Security & Backup">
    Back up your master key and define your recovery strategy.
  </Card>

  <Card href="/guides/custom-deployments" title="Custom Deployments">
    Deploy multiple named instances for different teams or environments.
  </Card>
</CardGroup>
