![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/.nvm/versions/node/v14.18.1/lib/node_modules/npm/docs/content/cli-commands/ |
--- 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/npm-config) * [npmrc](/configuring-npm/npmrc)