summaryrefslogtreecommitdiff
path: root/deps/npm/docs/content/cli-commands/npm-ping.md
blob: 203f1dbd788ce44901c959ebd21232ab416b3710 (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

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