# gt: General Translation CLI tool: 配置 URL: https://generaltranslation.com/zh/docs/cli/configure.mdx --- title: 配置 description: 配置项目中的 GT 设置 --- ## 用法 ```bash npx gt configure ``` ## 概述 `configure` 命令可帮助你配置项目的 GT 设置。 它会在项目根目录下创建一个 `gt.config.json` 文件。 该文件将包含以下设置: * `defaultLocale`:项目的默认区域设置。 * `locales`:项目[支持的区域设置](/docs/platform/supported-locales)数组。 * `files`:这是一个对象,包含你要翻译的内容信息。 有关 `gt.config.json` 文件的更多详细信息,请参阅[配置文档](/docs/cli/reference/config)。