> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/nuxt/nuxt/llms.txt
> Use this file to discover all available pages before exploring further.

# nuxt typecheck

> The typecheck command runs vue-tsc to check types throughout your app.

```bash theme={null}
npx nuxt typecheck [ROOTDIR] [--cwd=<directory>] [--logLevel=<silent|info|verbose>] [--dotenv] [-e, --extends=<layer-name>]
```

The `typecheck` command runs [`vue-tsc`](https://github.com/vuejs/language-tools/tree/master/packages/tsc) to check types throughout your app.

## Arguments

| Argument      | Description                                    |
| ------------- | ---------------------------------------------- |
| `ROOTDIR="."` | Specifies the working directory (default: `.`) |

## Options

| Option                               | Default | Description                                                                      |
| ------------------------------------ | ------- | -------------------------------------------------------------------------------- |
| `--cwd=<directory>`                  |         | Specify the working directory, this takes precedence over ROOTDIR (default: `.`) |
| `--logLevel=<silent\|info\|verbose>` |         | Specify build-time log level                                                     |
| `--dotenv`                           |         | Path to `.env` file to load, relative to the root directory                      |
| `-e, --extends=<layer-name>`         |         | Extend from a Nuxt layer                                                         |

<Note>
  This command sets `process.env.NODE_ENV` to `production`. To override, define `NODE_ENV` in a [`.env`](#) file or as a command-line argument.
</Note>
