Conan — Add Remote Fix
Conan — Add Remote Fix
After this, running conan install fmt/10.0.0 will fetch the fmt library from Conan Center.
If your company hosts a private JFrog Artifactory instance, adding it looks like this: conan remote add company-private https://mycompany.com Use code with caution. Managing Remote Priorities and Order
: Use the conan remote modify command after adding.
: ERROR: The remote doesn't support revisions conan add remote
If you're interested, I can also show you how to set up JFrog Artifactory specifically for Conan.
: After adding a remote, you may need to log in to access private packages using Conan's login command : conan remote login Use code with caution. Copied to clipboard
: Conan searches remotes in the order they are listed. You can use the After this, running conan install fmt/10
Conan uses the order of remotes in your remotes.json to resolve dependencies. It checks remotes sequentially until it finds a package or exhausts the list.
:
conan user my_username -r private-repo
: Conan 2.x is no longer compatible with remotes that don't accept revisions. Ensure your remote server (e.g., Artifactory, Conan Server) is updated to a version that supports Conan 2.x.
: Adding --force will update an existing remote if it already has the same name or URL instead of raising an error. Managing Existing Remotes
If you are just starting with Conan, adding the remote is your first step toward managing open-source dependencies efficiently. : ERROR: The remote doesn't support revisions If