Download Packages

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

There are three ways to download versions of a package from Artifactory:

Download Package via API

You can download packages from Artifactory via API using a curl command.

To download packages via API:

  • Run this command:

    curl -H "Authorization: Bearer <TOKEN>" -O "https://[JFrogPlatformURL]/artifactory/<REPO_NAME>/<PATH_TO_FILE>"

    Where:

    • <TOKEN>: Your Artifactory identity token

    • <JFrogPlatformURL>: The URL of your JFrog Platform

    • <REPO_NAME>: The name of the repository

    • <PATH_TO_FILE>: The path to the file inside the repository

    For example:

    curl -H "Authorization: Bearer EXAMPLE_TOKEN_a1b2C3d4E5 -O "https://company.jfrog.io/artifactory/npm-local/lodash/lodash-4.17.21.tgz

Download Package from the Artifactory UI

You can download packages manually from the package details page. If you're working with a package management client, you can also select your client and copy a version-specific install command from the package details page. For more information, see View Package Details.View Package Details

To download a package from the Artifactory UI:

  1. On the Platform module, go to Artifactory > Packages.

  2. Select a package from the list. The package details page opens.

  3. Under Versions, select the version of the package you want to download.

    package_details_versions.png
  4. Click Download. The selected package version downloads and is saved to your computer.

    new-package-details-download.png