Skip to content

Commit 09850ae

Browse files
authored
docs: clarify deno info config discovery (#3132)
Co-authored-by: fibibot <fibibot@users.noreply.github.com>
1 parent 8f089eb commit 09850ae

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

runtime/reference/cli/info.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified: 2026-03-12
2+
last_modified: 2026-05-16
33
title: "deno info"
44
oldUrl:
55
- /runtime/manual/tools/dependency_inspector/
@@ -15,6 +15,11 @@ description: "Inspect the dependencies of your project"
1515
[Modules](/runtime/fundamentals/modules/) for more about how Deno resolves and
1616
caches dependencies.
1717

18+
When you pass a local file, `deno info <file>` automatically discovers a
19+
`deno.json` or `deno.jsonc` configuration file in the current directory or a
20+
parent directory. Use `--config <file>` to specify a different configuration
21+
file, or `--no-config` to disable automatic config discovery.
22+
1823
## Example
1924

2025
```sh

0 commit comments

Comments
 (0)