How can I install clang-format in Ubuntu? April 15, 2023 by Tarik With Ubuntu 16.04, simply do: sudo apt install clang-format