Deploy npm Packages (npm Publish)

JFrog Artifactory Documentation

JFrog Artifactory
Content Type
User Guide

Set Your Credentials for npm Publish

The npm command line tool requires that sensitive operations, such as publish are authenticated as described under Authenticating the npm Client above.

Deploy Your npm Packages

There are two ways to deploy packages to a local repository:

  • Edit your package.json file and add a publishConfig section to a local repository:


  • Provide a local repository to the npm publish command:

    npm publish --registry http://localhost:8081/artifactory/api/npm/npm-local/