Build from source

Learn how to build the OpenTelemetry Collector from source

You can build the latest version of the Collector based on the local operating system using the following commands:

git clone https://github.com/open-telemetry/opentelemetry-collector.git
cd opentelemetry-collector
make install-tools
make otelcorecol