---
title: Upgrading
description: Learn how to upgrade to the latest versions of Next.js.
---

To have a coding agent perform and verify an upgrade, run `npx next@canary upgrade --agent=latest`. See [Upgrade with a coding agent](/docs/app/guides/upgrading/agent-upgrade) for details. To upgrade manually, follow a version-specific guide:
