summaryrefslogtreecommitdiff
path: root/deps/npm/docs/content/cli-commands/npm-ping.md
blob: 8f765501ac9f3359f9d6b9e9228c67a358d68abb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
section: cli-commands 
title: npm-ping
description: Ping npm registry
---

# npm-ping(1)

## 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 config](/cli-commands/config)
* [npmrc](/configuring-npm/npmrc)