---
title: Build from source
description: Learn how to build the OpenTelemetry Collector from source
weight: 100
---

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

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