mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 10:01:49 +00:00

PR-URL: https://github.com/nodejs/node/pull/36487 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Ruy Adorno <ruyadorno@github.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
31 lines
503 B
Markdown
31 lines
503 B
Markdown
---
|
|
title: npm-ping
|
|
section: 1
|
|
description: Ping npm registry
|
|
---
|
|
|
|
### Synopsis
|
|
|
|
```bash
|
|
npm ping [--registry <registry>]
|
|
```
|
|
|
|
### Description
|
|
|
|
Ping the configured or given npm registry and verify authentication.
|
|
If it works it will output something like:
|
|
|
|
```bash
|
|
Ping success: {*Details about registry*}
|
|
```
|
|
otherwise you will get:
|
|
```bash
|
|
Ping error: {*Detail about error}
|
|
```
|
|
|
|
### See Also
|
|
|
|
* [npm doctor](/commands/npm-doctor)
|
|
* [npm config](/commands/npm-config)
|
|
* [npmrc](/configuring-npm/npmrc)
|