Conan Add Remote Link Jun 2026

Conan searches remotes in the order they were added. To force a new remote to be checked first, use the --insert flag: conan remote add my-high-priority-repo --insert 0 Use code with caution. Copied to clipboard Add a remote and immediately disable it: conan remote add my-remote --disabled Use code with caution. Copied to clipboard Managing Remotes

Order matters. When Conan looks for a package, it checks remotes . conan add remote

: Conan searches remotes in the order they were added. To make a new remote the first one searched, use the --insert flag: conan remote add --insert . Conan searches remotes in the order they were added

: Conan searches remotes in the order they are listed. Use --index (Conan 2.x) or --insert (Conan 1.x) to specify its position in the search order. An index of 0 gives the remote the highest priority. Copied to clipboard Managing Remotes Order matters

The basic command works, but mastering the flags unlocks true power.

Always remember: , and --insert 0 gives you the highest precedence. Use conan remote list frequently to audit your configuration.

بازگشت به لیست