---
name: "Carton::Doc::Check"
section: "3pm"
platform: "linux"
package: "carton"
version: "1.0.35-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Carton::Doc::Check"
---

# Carton::Doc::Check(3pm)

Check if your cpanfile and local environment are in sync

## NAME

Carton::Doc::Check - Check if your cpanfile and local environment are in sync

## SYNOPSIS

```
  carton check
```

## DESCRIPTION

This command checks the consistency between your `"cpanfile"`, `"cpanfile.snapshot"` and the local environment.

### MISSING MODULES

If one or more of the modules specified in your *cpanfile* are not found in your snapshot, `"carton check"` will warn you about this:

```
  $ carton check
  Following dependencies are not satisfied.
    JSON has version 2.51. Needs 2.52
  Run `carton install` to install them.
```

You can run `"carton install"` again to reinstall these missing dependencies.
