Configure a Package Manager Client

JFrog Artifactory Documentation

ft:sourceType
Paligo

To configure a client to work with Artifactory, go to the Artifacts page, click Set Me Up, and follow the instructions that appear. Each package manager client has slightly different instructions, which Artifactory will generate specifically for your instance.

In most cases, the configuration process has the following structure:

  • Configure

  • Resolve

Configure

First, set the appropriate Artifactory repository as the default registry for the package manager client you are working with.

Next, enter your Artifactory and package credentials to the package manager client, and establish a link between the two.

Resolve

You can cache and use third-party packages using an Artifactory dedicated URL. For the package type you are working with for the specific instructions, URLs, and file paths, refer to the SetMeUp section.

Example: npm Remote Repository

To proxy npm packages using Artifactory, you will need to configure Artifactory as an npm remote repository:

  1. To create a new npm remote repository, navigate to Administration | Repositories | Add Repositories, and select Remote Repository.

  2. Fill in the repository key and URL, and any other repository settings you would like to apply, and click Create Remote Repository.

  3. Navigate to Application | Artifactory | Artifacts | Set Me Up, and select npm from the packages list.

  4. Select your repository from the drop-down menu. Instructions for configuring the client will appear under the Configure tab. Follow the instructions to establish the connection between your npm client and Artifactory.

  5. Once you establish the connection between your npm client and Artifactory, you can use the command npm install [PACKAGE_NAME]; to proxy packages from npm Registry or any other resource in your Artifactory repository.