Skip to content

Commit

Permalink
docs: fix typo github in cli related docs (vercel#71152)
Browse files Browse the repository at this point in the history
Co-authored-by: Lee Robinson <[email protected]>
  • Loading branch information
lumirlumir and leerob authored Oct 11, 2024
1 parent a40c1d6 commit 8decfbb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/02-app/02-api-reference/06-cli/create-next-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Create Next.js apps using one command with the create-next-app CLI.

{/* The content of this doc is shared between the app and pages router. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}

The `create-next-app` CLI allow you to 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. It is the easiest way to get started with Next.js.
The `create-next-app` CLI allow you to 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. It is the easiest way to get started with Next.js.

Basic usage:

Expand Down Expand Up @@ -76,9 +76,9 @@ npx create-next-app@latest --example [example-name] [your-project-name]

You can view a list of all available examples along with setup instructions in the [Next.js repository](https://github.com/vercel/next.js/tree/canary/examples).

### With any public Github example
### With any public GitHub example

To create a new app using any public Github example, use the `--example` option with the Github repo's URL. For example:
To create a new app using any public GitHub example, use the `--example` option with the GitHub repo's URL. For example:

```bash filename="Terminal"
npx create-next-app@latest --example "https://github.com/.../" [your-project-name]
Expand Down
2 changes: 1 addition & 1 deletion docs/02-app/02-api-reference/06-cli/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ description: API Reference for the Next.js Command Line Interface (CLI) tools.

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.
- **`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.

0 comments on commit 8decfbb

Please sign in to comment.