Install Conan Packages

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

You can use the Conan CLI to install dependencies from Artifactory that are defined in the project's conanfile.txt file.

Note

You cannot install Conan packages directly from remote repositories. To install Conan packages from a remote source, aggregate the remote repository in a virtual repository.

To install Conan packages:

Run the following command:

conan install . -r <REMOTE_NAME>

Where:

  • <REMOTE_NAME>: The local alias of the Artifactory repository

For example:

conan install . -r artifactory

Note

You can also use JFrog Set me up to copy the snippet populated with your token and environment. For more information, see Use Artifactory Set Me Up for Configuring Package Manager Clients.