Conan Add Remote Jun 2026
conan remote add [VERIFY_SSL] [INSERT_INDEX] Use code with caution.
The basic syntax of the command is:
The conan remote command includes options for advanced configuration, such as inserting at a specific position or forcing an update. 1. Inserting Remotes at Specific Positions ( --insert ) conan add remote
What are you using? (Artifactory, Nexus, GitLab, etc.)
| Field | Type | Description | |-------|------|-------------| | name | string (required) | Remote name used in commands | | url | string (required) | Server URL | | verify_ssl | bool (required) | Enable/disable SSL verification | | disabled | bool (optional, default false) | Whether the remote is active | | allowed_packages | list (optional) | fnmatch patterns for allowed packages | | recipes_only | bool (optional, default false) | If true, only download recipes, not binaries | conan remote add [VERIFY_SSL] [INSERT_INDEX] Use code with
When creating your own C++ packages, you must specify which remote should receive the binaries: conan upload my_library/1.0.0 --remote my-company-repo Use code with caution. Best Practices for Enterprise Conan Remotes
For internal testing environments using self-signed SSL certificates, you can bypass verification (not recommended for production): Inserting Remotes at Specific Positions ( --insert )
Always place your company's repository at index 0 . This prevents "dependency confusion" attacks where malicious public packages spoof internal names.
conan remote add -h
| Command | Purpose | | :--- | :--- | | conan remote list | Show all configured remotes with their URLs and priority order. | | conan remote remove <name> | Remove a remote (e.g., conan remote remove broken_repo ). | | conan remote update <name> <new_url> | Change the URL of an existing remote without deleting it. | | conan remote rename <old> <new> | Rename a remote identifier. |