(An index of 0 forces the new remote to the very top of the list). conan remote add high-priority-repo 0 Use code with caution. Authenticating with the New Remote
conan remote add company https://artifactory.mycorp.com/artifactory/api/conan/conan-local
$ conan remote add <remote_name> <remote_url> conan add remote
After adding remotes, you can inspect the order and details with:
conan remote update mycompany --index 0
$ conan remote add my_local_server http://localhost:9300
: Alternatively, commit a standardized remotes.json or conan.conf file directly into your runner's configuration directory ( ~/.conan2/remotes.json ) to bypass setup commands entirely during execution. To help tailor this to your setup, let me know: (An index of 0 forces the new remote
To add a new repository to your local Conan configuration, use the following official command : conan remote add Use code with caution. Copied to clipboard
: Limits this remote to only be used for packages matching a specific pattern (e.g., zlib/* ), which is useful for security and preventing "dependency confusion" attacks. Managing the Remote List To help tailor this to your setup, let
: Avoid using Verify SSL: False in a professional environment. Instead, properly configure your system's certificate store.