Skip to content

vp pm ping ​

Check connectivity to a package registry.

bash
vp pm ping
vp pm ping --registry https://registry.npmjs.org

Options ​

OptionDescriptionNotes
--registry <url>Select the registry.

Compatibility ​

  • npm: npm ping.
  • pnpm: 11 or later: pnpm ping. Earlier versions use npm ping as a fallback.
  • Yarn Classic: Fallback: npm ping.
  • Yarn Modern: Fallback: npm ping.
  • Bun: Fallback: npm ping.
OptionnpmpnpmYarn ClassicYarn ModernBunNotes
--registry <url>YesYesYesYesYes

Registry configuration, output, and exit codes follow the command that runs. Use whoami when you need to check the authenticated account rather than connectivity.

Native Options ​

For native options, see npm ping and pnpm ping. To pass these options through Vite+, see Native Arguments.