npm publish is command on npm CLI, which publishes the specified package to the npmjs repository and then can be available to install through npm install command.