> ## Documentation Index
> Fetch the complete documentation index at: https://bun.manicule.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://bun.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://bun.manicule.dev/api/mcp.
> Every agent surface: https://bun.manicule.dev/.well-known/llms-manifest.json

# bun info (/pm/cli/info)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 343 · updated: 2026-08-02 -->
Related: [bun publish](/pm/cli/publish.md), [bun outdated](/pm/cli/outdated.md), [bun why](/pm/cli/why.md), [bun audit](/pm/cli/audit.md), [bunx](/pm/bunx.md)

> Display package metadata from the npm registry

`bun info` displays package metadata from the npm registry.

## Usage

```bash icon="terminal" title="terminal" terminal
bun info react
```

`bun info react` prints the package's latest version, description, homepage, dependencies, and other metadata.

## Viewing specific versions

To view information about a specific version:

```bash icon="terminal" title="terminal" terminal
bun info react@18.0.0
```

## Viewing specific properties

To print specific properties from the package metadata:

```bash icon="terminal" title="terminal" terminal
bun info react version
bun info react dependencies
bun info react repository.url
```

## JSON output

To get the output in JSON format, use the `--json` flag:

```bash icon="terminal" title="terminal" terminal
bun info react --json
```

## Alias

`bun pm view` is an alias for `bun info`:

```bash icon="terminal" title="terminal" terminal
bun pm view react  # equivalent to: bun info react
```

## Examples

```bash icon="terminal" title="terminal" terminal
# View basic package information
bun info is-number

# View a specific version
bun info is-number@7.0.0

# View all available versions
bun info is-number versions

# View package dependencies
bun info express dependencies

# View package homepage
bun info lodash homepage

# Get JSON output
bun info react --json
```
