---
title: "X18N0003: Unknown project"
description: "Unknown project. Pick a project name listed by `x18n status`, for example with `--project`."
canonical_url: "https://x18n.dev/errors/x18n0003"
---
# X18N0003: Unknown project

> Unknown project. Pick a project name listed by \`x18n status\`, for example with \`--project\`.

<!-- Generated by docs/scripts/generate.ts from the source code. Do not edit. -->

## Message

```
[X18N0003] Unknown project <detail>
├▶ fix: Pick a project name listed by `x18n status`, for example with `--project`.
╰▶ see: https://x18n.dev/errors/x18n0003
```

The CLI prints the code and why the error happened, with details such as a file name or a field. The fix and a link to this page follow. With `--json`, the same parts are in `errors` of the [envelope](https://x18n.dev/references/json-contracts).

## What to do

The command needs one project, but the name you gave matches none, or the workspace has several projects and you gave no name.

1. Run `x18n status` to list the project names.
2. Pass one of them with `--project <name>`.

Commands that write files (`set`, `apply`, `rename`, `delete`, `fill`, `format`, `extract`, `prompt`) always need one project in a monorepo.

## Exit code

The CLI exits with code `2`.

## Source

- [`packages/cli/src/context.ts`](https://github.com/x18n-dev/x18n/blob/main/packages/cli/src/context.ts)
- [`packages/node/src/load.ts`](https://github.com/x18n-dev/x18n/blob/main/packages/node/src/load.ts)
- [`packages/ui/src/node/views.ts`](https://github.com/x18n-dev/x18n/blob/main/packages/ui/src/node/views.ts)


## Sitemap

See the full [sitemap](https://x18n.dev/sitemap.md) for all pages.
