Conan — Add Remote
If a server URL changes, you don't need to delete and re-add; just update:
conan remote update my-repo https://new.url.com/repo
# Add a remote
conan remote add myremote https://myconanrepo.com
Always check your server’s documentation for the correct endpoint. conan add remote
| Option | Description |
|--------|-------------|
| --insert | Inserts the remote at a specific position in the remote list (0 is the highest priority). Without this, the new remote is appended to the end (lowest priority). |
| --force | Overwrites an existing remote with the same name. Useful for updating URLs or credentials without manual removal. |
| --insecure | Disables SSL/TLS verification for this remote. Not recommended for production; only for testing with self-signed certificates. |
| --index (or --position) | Used together with --insert to specify the exact index (e.g., --insert --index 0 for highest priority). | If a server URL changes, you don't need
conan remote add <remote-name> <remote-url> [--index] [--insert] [--force]