Command-line tool
dtc
brew/dtc
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Device tree compiler
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id oss-winget.dtc -e
macOS
brew install dtc
Linux
brew install dtc
Compile a device tree source `.dts` file into a binary device tree blob `.dtb` file
dtc -I dts -O dtb -o path/to/output_file.dtb path/to/input_file.dts
Compile a device tree source `.dts` file into a binary device tree blob overlay `.dtbo` file
dtc -@ -I dts -O dtb -o path/to/output_file.dtbo path/to/input_file.dts
Decompile a device tree blob `.dtb` file into a readable device tree source `.dts` file
dtc -I dtb -O dts -o path/to/output_file.dts path/to/input_file.dtb
Related command-line tools
- dialogical
P/E/T/S 2037 Dialogue Tree Compiler - usbtree
Live USB device tree in your terminal - lsusb
List USB devices, just like the Linux lsusb command - usbutils
List detailed info about USB devices - lsusb-laniksj
List USB devices, just like the Linux lsusb command - closure-compiler
JavaScript optimizing compiler - compiler_base_error
compiler base error - compiler_base_span
compiler base span
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents