# Check a project (/docs/cli/check-a-project)

Two read-only commands help you keep a project healthy. Neither changes anything.

```sh
# Starter release, modules, Git state, and whether a newer Starter exists
pnpm clubedge status

# Node.js, pnpm, conflict markers, dependencies, lockfile, env file, and pnpm check:services
pnpm clubedge doctor
```

## status [#status]

`status` prints the project's Starter release, the stack in each slot (such as `Framework vite` and `Api fastapi`), its modules, and its Git state, then whether a newer Starter release exists. It ends with the command to run next, such as `pnpm clubedge upgrade` when a newer release is available. It asks npm for the newest CLI and still works offline.

## doctor [#doctor]

`doctor` checks that the project can run:

- Node.js and pnpm meet the project's versions.
- No file has unresolved conflict markers (CLI 0.41.0 or newer). `doctor` fails on the ones an earlier `add`, `remove`, or `upgrade` left, listing the files with their number of conflict blocks.
- Dependencies are installed.
- `pnpm-lock.yaml` matches every `package.json`.
- `apps/web/.env.local` has every variable in `.env.example`, and with a separate API, `apps/api/.env.local` every variable in `apps/api/.env.example`. A project without a website has only the API's (CLI 0.44.0 or newer).
- The database URLs fit together (CLI 0.30.0 or newer): on Neon, `DATABASE_URL` is the pooled connection and `DATABASE_URL_DIRECT` the direct one for the same database, and a free Neon database has more than a day left. See [A database on Neon](./neon.mdx).

Then it runs `pnpm check:services`, which proves the app can reach every configured service with a real round trip. Skip that step with `--no-services`.

`doctor` exits with an error when a check fails, so it also works in CI. Start here when something doesn't work.

## A package.json with conflict markers [#a-packagejson-with-conflict-markers]

Neither command can read a `package.json` with conflict markers, and pnpm can't either, so `pnpm clubedge` does not start. Run the CLI directly, such as `pnpm dlx @clubedge/create-clubedge-app status`: from CLI 0.41.0, `status` and `doctor` stop with a message that names the file and prints the `git diff --no-index` command that compares it with the Starter's version in `.clubedge/incoming/`. Resolve the markers, then run `pnpm install`. See [After the change](./change-a-project.mdx#after-the-change).
