---
name: "carton-list"
section: "1p"
platform: "linux"
package: "carton"
version: "0.9.7-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/carton-list"
---

# carton-list(1p)

List dependencies tracked in the carton.lock file

## NAME

carton-list - List dependencies tracked in the carton.lock file

## SYNOPSIS

```
  carton list [--tree]
```

## DESCRIPTION

List the dependencies and version information tracked in the *carton.lock* file. This command by default displays the name of the distribution (e.g. *Foo-Bar-0.01*) in a flat list.

## OPTIONS

- \--tree

  Displays the dependencies as a nicely formatted tree structure, for example:

  ```
    $ carton list --tree
    Params-Validate-1.00
      Module-Build-0.3800
        Module-Metadata-1.000004
          version-0.91
        CPAN-Meta-2.110930
          Parse-CPAN-Meta-1.4401
            JSON-PP-2.27200
            CPAN-Meta-YAML-0.003
          Version-Requirements-0.101020
        Perl-OSType-1.002
  ```
