# ソースからのビルド

> OpenTelemetry Collectorをソースからビルドする方法を学ぶ

---

LLMS index: [llms.txt](/llms.txt)

---

以下のコマンドを使用して、ローカルのオペレーティングシステムに基づいてコレクターの最新バージョンをビルドできます。

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