ende list
The ende list command prints the packages your project declares as
dependencies. It reads them from the imports in your
ende.json, resolves each to the
version currently in use, and prints them grouped by package.
It answers a different question than
ende info: ende info walks the module graph
from an entrypoint and reports every file it reaches, while ende list reports
what the project depends on straight from the manifest, without an entrypoint.
Usage
ende list [OPTIONS] [filters...]
By default ende list prints a flat table of your direct dependencies. Optional
positional filters narrow the output by package name and support wildcards and
! negation, the same matcher
ende outdated uses.
Options
| Option | Description |
|---|---|
--depth <N> |
Render the resolved dependency tree N levels deep (read from the lockfile). |
--recursive, -r |
Include the dependencies of every workspace member. |
--json |
Print the dependencies as JSON on stdout (Ende 2026.12.01+). |
--plain |
Print one package per line, with no table or color (Ende 2026.12.01+). |
Examples
List direct dependencies:
ende list
Show the dependency tree two levels deep:
ende list --depth 2
List only dependencies whose name starts with @ende/:
ende list "@ende/*"
Output for scripts
--json prints one JSON document with a version field. Each dependency has
its kind, name, alias (null when there's none), the required version
range from ende.json and the resolved version:
$ ende list --json
{
"version": 1,
"dependencies": [
{
"kind": "jsr",
"name": "@oak/oak",
"alias": null,
"required": "^17",
"resolved": "17.2.0"
}
]
}
With --depth, each dependency also has a dependencies array, whose entries
have kind, name, resolved, cycle and their own dependencies.
--plain prints one package per line, with five tab-separated fields: the
package, the required version, the resolved version, the alias, and its path
from the direct dependency. A field with no value is -:
$ ende list --plain
jsr:@oak/oak ^17 17.2.0 - jsr:@oak/[email protected]
With --depth, the packages under each direct dependency follow it, each with
its path, such as
jsr:@oak/[email protected] > jsr:@std/[email protected].
Command line usage:
listList the dependencies declared in ende.json
Options
--depth
Maximum depth of the dependency tree to display (0 = direct dependencies only).
--json
Print the dependencies as versioned JSON on stdout.
--plain
Print one package per line, with no table or colour: package, required version, resolved version, alias and its path from the direct dependency, tab-separated (- when there's none).
--recursive, -r
Include all workspace members.