Conan Add Remote -

conan remote list --json

This outputs the remote configuration in JSON format, which is excellent for scripting or CI pipeline validation.

Instead of conan add remote, you can define remotes via environment variables for CI/CD pipelines: conan add remote

If you run conan remote add with a name that already exists, Conan emits an error: conan remote list --json

ERROR: Remote 'conancenter' already exists

Use --force to overwrite the URL of an existing remote without deleting it first: This outputs the remote configuration in JSON format,

conan remote add conancenter https://new-url.conan.io --force

Warning: This does not change the remote's priority position.

To see what remotes are currently active:

conan remote list

Output example:

conancenter: https://center.conan.io [SSL]
my-repo: https://my.repo.com/local [SSL]