index.mdx


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 for details. To upgrade manually, follow a version-specific guide:

Rendered from the public repository vercel/next.js on GitHub; content belongs to its authors. Cached for up to an hour.

docs/02-pages/02-guides/upgrading/index.mdx · vercel/next.js | Docs MD