CLI

next experimental-analyze

An experimental bundle-analysis command for supported Next.js/Turbopack releases. Use it to investigate dependency contributions and import boundaries, not to assert an end-user latency improvement. Exact options may change; check the pinned CLI help before use. Example context: Next.js 16.x documentation lane; illustrative snippet or file tree, not executed. Exact candidate patch 16.4.6 remains unverified. Expected behavior / verification: With a reviewed installed CLI, inspect available options and capture the tool version. Compare a bounded before/after bundle and verify user-facing performance independently.

Formal Syntax & Structure

nextjs syntaxnextjs
next experimental-analyze

Working Example

Example Snippetnextjs
next experimental-analyze --help
Next.js Reference