Install API

Warning

This feature is experimental and subject to breaking changes. See the Conan stability section for more information.

class InstallAPI(conan_api)
install_binaries(deps_graph, remotes=None)

Install binaries for dependency graph :param deps_graph: Dependency graph to intall packages for :param remotes:

install_system_requires(graph, only_info=False)

Install binaries for dependency graph :param only_info: Only allow reporting and checking, but never install :param graph: Dependency graph to intall packages for

install_sources(graph, remotes)

Install sources for dependency graph of packages to BUILD or packages that match tools.build:download_source conf :param remotes: :param graph: Dependency graph to install packages for

install_consumer(deps_graph, generators=None, source_folder=None, output_folder=None, deploy=False, deploy_package=None, deploy_folder=None, envs_generation=None)

Once a dependency graph has been installed, there are things to be done, like invoking generators for the root consumer. This is necessary for example for conanfile.txt/py, or for “conan install <ref> -g