---
title: CLI
description: API Reference for the Next.js Command Line Interface (CLI) tools.
url: "https://nextjs.org/docs/pages/api-reference/cli"
version: 16.2.2
lastUpdated: 2026-04-02
router: Pages Router
prerequisites:
  - "API Reference: /docs/pages/api-reference"
---


Next.js comes with **two** Command Line Interface (CLI) tools:

* **`create-next-app`**: Quickly create a new Next.js application using the default template or an [example](https://github.com/vercel/next.js/tree/canary/examples) from a public GitHub repository.
* **`next`**: Run the Next.js development server, build your application, and more.

- [create-next-app CLI](/docs/pages/api-reference/cli/create-next-app)
  - Create Next.js apps using one command with the create-next-app CLI.
- [next CLI](/docs/pages/api-reference/cli/next)
  - Learn how to run and build your application with the Next.js CLI.

---

For a semantic overview of all documentation, see [/docs/sitemap.md](/docs/sitemap.md)

For an index of all available documentation, see [/docs/llms.txt](/docs/llms.txt)