The conan remote add command is used in the Conan C/C++ package manager to register a new remote server (repository) where packages can be searched for, downloaded from, or uploaded to. Command Syntax The basic syntax for adding a remote is: conan remote add [verify_ssl] [options] Use code with caution. Copied to clipboard : A unique identifier for the remote.
: It is widely used to set up local "proxy" repositories that cache upstream packages to speed up builds and ensure reliability. Conan Docs +3 Usage Examples Scenario Command Add a Basic Remote conan remote add my_server http://localhost:9300 Prioritize a Remote conan remote add internal https://artifactory.com --insert 0 Insecure Connection conan remote add nexus http://nexus:8081/repo/ False GitLab Integration conan remote add gitlab https://example.com Strategic Importance in DevOps 11 sites conan remote — conan 2.27.0 documentation Feb 6, 2026 —
While conan remote add works in both Conan 1.x and 2.x, Conan 2.x introduced a unified configuration file approach. You can also manage remotes by editing the remotes.yaml file located in your Conan home directory (usually ~/.conan2/remotes.yaml or ~/.conan/remotes.yaml ), but the command line interface remains the standard way to modify it.
conan remote add insecure-remote http://unsecure-url.com False Use code with caution. Duplicate Remote Name
: Inserts the new remote at a specific priority level. By default, new remotes are appended to the end of the list. Using --insert 0 makes it the first remote checked during package resolution.
Mastering Conan Remote Add: A Complete Guide to Managing C/C++ Package Repositories