Skip to content

Commit

Permalink
docs(terminal): fix incorrect terminal command and missing hashes in …
Browse files Browse the repository at this point in the history
…link
  • Loading branch information
lumirlumir committed Oct 12, 2024
1 parent ee26991 commit 6085dc6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/02-app/02-api-reference/06-cli/next.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The Next.js CLI allows you to develop, build, start your application, and more.
Basic usage:

```bash filename="Terminal"
npm run next [command] [options]
npx next [command] [options]
```

## Reference
Expand All @@ -26,14 +26,14 @@ The following options are available:

The following commands are available:

| Command | Description |
| ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`dev`](#next-dev-options) | Starts Next.js in development mode with Hot Module Reloading, error reporting, and more. |
| [`build`](#next-build-options) | Creates an optimized production build of your application. Displaying information about each route. |
| [`start`](#next-start-options) | Starts Next.js in production mode. The application should be compiled with `next build` first. |
| [`info`](next-info-options) | Prints relevant details about the current system which can be used to report Next.js bugs. |
| [`lint`](next-lint-options) | Runs ESLint for all files in the `/src`, `/app`, `/pages`, `/components`, and `/lib` directories. It also provides a guided setup to install any required dependencies if ESLint it is not already configured in your application. |
| [`telemetry`](next-telemetry-options) | Allows you to enable or disable Next.js' completely anonymous telemetry collection. |
| Command | Description |
| -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`dev`](#next-dev-options) | Starts Next.js in development mode with Hot Module Reloading, error reporting, and more. |
| [`build`](#next-build-options) | Creates an optimized production build of your application. Displaying information about each route. |
| [`start`](#next-start-options) | Starts Next.js in production mode. The application should be compiled with `next build` first. |
| [`info`](#next-info-options) | Prints relevant details about the current system which can be used to report Next.js bugs. |
| [`lint`](#next-lint-options) | Runs ESLint for all files in the `/src`, `/app`, `/pages`, `/components`, and `/lib` directories. It also provides a guided setup to install any required dependencies if ESLint it is not already configured in your application. |
| [`telemetry`](#next-telemetry-options) | Allows you to enable or disable Next.js' completely anonymous telemetry collection. |

> **Good to know**: Running `next` without a command is an alias for `next dev`.
Expand Down

0 comments on commit 6085dc6

Please sign in to comment.