There are three ways to download versions of a package from Artifactory:
Download packages natively using a package manager. For more information, see Supported Package Types.
Tip
You can copy a client-specific install command for a specific package version on the package details page. For more information, see Download Package from the Artifactory UI.
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.
To download a package from the Artifactory UI:
On the Platform module, go to Artifactory > Packages.
Select a package from the list. The package details page opens.
Under Versions, select the version of the package you want to download.
Click Download. The selected package version downloads and is saved to your computer.