1--- 2section: cli-commands 3title: npm-ping 4description: Ping npm registry 5--- 6 7# npm-ping(1) 8 9## Ping npm registry 10 11### Synopsis 12 13```bash 14npm ping [--registry <registry>] 15``` 16 17### Description 18 19Ping the configured or given npm registry and verify authentication. 20If it works it will output something like: 21 22```bash 23Ping success: {*Details about registry*} 24``` 25otherwise you will get: 26```bash 27Ping error: {*Detail about error} 28``` 29 30### See Also 31 32* [npm config](/cli-commands/npm-config) 33* [npmrc](/configuring-npm/npmrc) 34