Conan vs NuGet
Conan
conan.ioNuGet
nuget.orgSide by side
| Figure | Conan | NuGet |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| iOS | Yes | — |
| Android | Yes | — |
| API | — | Yes |
| Plans published | 2 | 0 |
| Spec score · Package Managers | 9.0 (#3) | 8.1 (#31) |
| Spec score · Package Registries | 9.0 (#2) | 7.6 (#19) |
| Dependency resolution | Yes | Yes |
| Lockfile support | Yes | Yes |
| Offline installation | Yes | Yes |
| Package formats | Conan recipes and binary packages | .nupkg,.snupkg |
| Private registry auth | Yes | Yes |
| Supported platforms | Linux,Windows,macOS,Android,iOS,embedded and bare-metal targets | Windows,macOS,Linux,.NET |
Plans
In their own words
Conan
Conan is a free, open-source package manager for C and C++ projects. It manages dependencies and binary packages through Conan recipes, with dependency resolution, lockfiles, workspaces, private registry authentication and offline installation. Binary configurations can vary by architecture, compiler and version, runtime, and C++ standard library. If a matching binary is unavailable, Conan can build from source on demand. It supports Windows, Linux, macOS, Android, iOS, embedded and bare-metal targets, as well as desktop, server and mobile platforms. Build integrations include CMake, MSBuild, Makefiles, Meson and SCons; other integrations include Docker, MinGW, WSL and JFrog Artifactory. Teams can share and reuse native binaries. Artifactory Community Edition offers self-hosted private package hosting, with a WebUI, authentication and permissions. Conan is released under the MIT License. The listed plan describes the package manager as free and open source; no price is stated for either plan.
NuGet
NuGet is a package manager for .NET projects, with tools to create and consume packages and the NuGet Gallery as a central repository. Packages use the .nupkg format and can include compiled code, related files and a descriptive manifest; .snupkg is also supported. NuGet resolves dependency graphs and records package identifiers and versions so projects can restore dependencies across machines and build servers. PackageReference and packages.config are supported, with PackageReference required for .NET SDK-style projects. Developers can manage packages in Visual Studio or use the dotnet CLI and nuget.exe. Packages may be hosted in private cloud locations, private networks or local file systems. Restore can check dependencies against configured vulnerability sources and report warnings. NuGet also supports lockfiles, offline installation, private registry authentication and package signatures. The service is free, and the Gallery code is open source under Apache 2.0. The dotnet CLI works on Windows, macOS and Linux; nuget.exe runs on Windows and can run on macOS and Linux with Mono, with limitations.