HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

npm ping — Ping `npm` registry. More information: <https://docs.npmjs.com/cli/npm-ping/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
registrycommandnpmnpm pingcliinformationpingmore

Problem

How to use the npm ping command: Ping npm registry. More information: <https://docs.npmjs.com/cli/npm-ping/>.

Solution

npm ping — Ping npm registry. More information: <https://docs.npmjs.com/cli/npm-ping/>.

Ping the default npm registry:
npm ping


Ping custom npm registry:
npm ping --registry {{custom_registry_url}}

Code Snippets

Ping the default `npm` registry

npm ping

Ping custom `npm` registry

npm ping --registry {{custom_registry_url}}

Context

tldr-pages: common/npm ping

Revisions (0)

No revisions yet.