---
title: "nuxt info"
description: "info 命令会记录当前或指定 Nuxt 项目的信息。"
canonical_url: "https://nuxt.zhcndoc.com/docs/3.x/api/commands/info"
---
# nuxt info

> info 命令会记录当前或指定 Nuxt 项目的信息。

<!--info-cmd-->

```bash [Terminal]
npx nuxt info [ROOTDIR] [--cwd=<directory>]
```

<!--/info-cmd-->

`info` 命令会记录当前或指定 Nuxt 项目的信息。

## 参数

<!--info-args-->

| 参数                | 描述             |
| ----------------- | -------------- |
| `ROOTDIR="."`     | 指定工作目录（默认：`.`） |
| <!--/info-args--> |                |

## 选项

<!--info-opts-->

| 选项                  | 默认值 | 描述                            |
| ------------------- | --- | ----------------------------- |
| `--cwd=<directory>` |     | 指定工作目录，此选项优先于 ROOTDIR（默认：`.`） |
| <!--/info-opts-->   |     |                               |

---

- [来源](https://github.com/nuxt/cli/blob/3.x/packages/nuxi/src/commands/info.ts)


## Sitemap

See the full [sitemap](https://nuxt.zhcndoc.com/sitemap.md) for all pages.
