# bun info (/docs/pm/cli/info)

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

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

## Usage [#usage]

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

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

## Viewing specific versions [#viewing-specific-versions]

To view information about a specific version:

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

## Viewing specific properties [#viewing-specific-properties]

To print specific properties from the package metadata:

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

## JSON output [#json-output]

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

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

## Alias [#alias]

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

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

## Examples [#examples]

```bash terminal icon="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
```
