Skip to content

vp info ​

Read package metadata from the registry. Aliases: vp view, vp show, vp pm view, vp pm info, and vp pm show.

bash
vp info react
vp info react versions --json
vp info react@19 dist.tarball

Options ​

Supply a package name with an optional version, followed by an optional field name.

OptionDescriptionNotes
--jsonRequest native JSON output.Output retains the native schema.

Compatibility ​

  • npm: npm view.
  • pnpm: pnpm view.
  • Yarn Classic: yarn info.
  • Yarn Modern: yarn npm info. A requested field is passed as --fields.
  • Bun: bun info.
OptionnpmpnpmYarn ClassicYarn ModernBunNotes
--jsonYesYesYesYesYes

This command queries registry metadata, not the local dependency tree. Use list or why to inspect installed packages.

Native Options ​

For native options, see npm view, pnpm view, Yarn npm info, Yarn Classic info, and Bun info. To pass these options through Vite+, see Native Arguments.