In Conan 2, conan remote add has become more robust. The ecosystem has shifted towards "profiles" and context-based configuration. The command now integrates better with:
conan remote add command to link your Conan client to a new package repository (remote), such as an Artifactory instance or a private server. Conan Docs Core Command Syntax conan remote add [verify_ssl] Use code with caution. Copied to clipboard : A custom alias for the remote (e.g., my-private-repo : The URL of the Conan repository. [verify_ssl] : Optional; set to (default) or to toggle SSL certificate validation. Conan Docs Advanced Features Prioritize Remotes conan add remote
# Insert as the highest priority (position 0) conan remote add internal https://internal.conan.local --insert 0 In Conan 2, conan remote add has become more robust
Before executing conan add remote , you must understand the concept of a . Conan Docs Core Command Syntax conan remote add
Conan then stores an authentication token locally (in ~/.conan2/remotes.json or similar). Future operations with --remote=mycompany will use this token.
In the context of the Conan C/C++ package manager , "add remote" refers to configuring the client to communicate with a specific server (repository) to upload or download packages. By default, Conan is configured with Conan Center , but you can add private repositories like JFrog Artifactory or a self-hosted Conan Server 🛠️ Basic Command