Conan comes pre-configured with the , the official public remote ( https://center.conan.io ). However, in real-world development, you will need to add custom remotes—either public community remotes or private company servers like JFrog Artifactory or GitLab Package Registry .
conan remote login company-repo my_username -p my_password_or_token Use code with caution. Example B: Adding a Remote and Disabling SSL Verification
By default, new remotes are appended to the bottom of the list. If you want a private repository to take precedence over the public Conan Center repository, you must insert it at the top of the stack. conan remote add high-priority-repo --index 0 Use code with caution. conan add remote
conan remote add insecure-repo http://192.168.1 conan remote modify insecure-repo secure_ssl False Use code with caution. : Pass the boolean flag directly. conan remote add insecure-repo http://192.168.1 False Use code with caution. 4. Managing and Ordering Remotes
conan remote list_ref
# Syntax conan remote add company-repo https://your.server.url/repo-name
If you accidentally removed the default public repository or are setting up a fresh environment where it isn't configured, you can add ConanCenter using the following command: conan remote add conancenter https://conan.io Use code with caution. 2. Adding a Private Enterprise Remote (Artifactory / Nexus) Conan comes pre-configured with the , the official
If you attempt to add a remote name that is already allocated, Conan will throw an error.