Skip to main content
The meteor list command displays the packages explicitly used by your Meteor project.

Usage

Basic Usage

List packages explicitly added to your project:
This shows only the packages you’ve directly added with meteor add, not their transitive dependencies.

Tree View

Show a tree of all packages including dependencies:
This displays a tree showing how packages are referenced, including all transitive dependencies.

Including Weak Dependencies

Show weak dependencies in the tree:
Weak dependencies are optional dependencies that a package can use if they’re available but doesn’t require.

JSON Output

Output package information in JSON format:

Detailed JSON Output

Include additional package details in JSON output:
This includes more information about each package such as description, version, and more.

Options

--tree
boolean
default:"false"
Display a tree showing how packages are referenced, including transitive dependencies
--weak
boolean
default:"false"
Show weakly referenced dependencies in the tree or JSON output
--json
boolean
default:"false"
Output the package list in JSON format
--details
boolean
default:"false"
Add more package details to the JSON output (only works with —json)

Examples

List all explicitly added packages:
Output:
Show dependency tree:
Output:
Show tree with weak dependencies:
Output JSON:
Output detailed JSON:

Understanding Output

Basic List

The basic list shows:
  • Package name
  • Package version
Only packages explicitly added to .meteor/packages are shown.

Tree View

The tree view shows:
  • Package name and version
  • Dependencies indented below
  • How packages are connected

JSON Output

The JSON output provides structured data suitable for programmatic processing.

Package Information

To see more details about a specific package:
To see package information for a specific version:

Direct vs. Transitive Dependencies

Direct dependencies are packages you explicitly add:
Transitive dependencies are packages required by your direct dependencies. They’re automatically included but not shown in the basic meteor list output. Use meteor list --tree to see both direct and transitive dependencies.

Version Information

Package versions are stored in .meteor/versions. This file is automatically managed and should be committed to version control.