Documentation
Developers
Building From Source

Building From Source

The preferred way to use CloudQuery is through the available distribution, see the Quickstart section of the Docs

To build CloudQuery CLI from source, follow the steps:

  1. CloudQuery is developed in Go. Ensure you have a working Go runtime (opens in a new tab)
  2. Fork and clone the CloudQuery repository. If you’re not sure how to do this, please watch these videos (opens in a new tab).
  3. From the cloned repository root, change directory to ./cli and run go build -o cloudquery to build the CloudQuery CLI. The binary will be created in the same directory.

Building an integration from source is similar. Most integrations have a makefile in their directory to make this easier. For example, to build the aws integration, run make build from the ./plugins/source/aws directory. The resulting binary can be used by providing the path to it as the path parameter in a plugin configuration, together with the local registry. Python integrations have make build-docker to build a Docker image that can be used with the docker registry.