CLI

next info

Print environment and package diagnostics useful for troubleshooting. Review output before sharing because environment descriptions may include identifying details. Use the locally installed reviewed CLI; do not invoke a remote download merely to inspect versions. 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: In a fixture with installed Next.js, record relevant versions and redact unnecessary machine details. No output is claimed here.

Formal Syntax & Structure

nextjs syntaxnextjs
next info

Working Example

Example Snippetnextjs
npm exec --offline -- next info
Next.js Reference