clang-format

Tool to auto-format C/C++/Java/JavaScript/Objective-C/Protobuf/C# code. More information: <https://clang.llvm.org/docs/ClangFormat.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y clang-format
Ubuntu
RUN apt-get update && \ apt-get install -y clang-format
Alpine
RUN apk add clang
Arch Arch Linux
RUN pacman -S --noconfirm clang
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y clang-format
CentOS
RUN yum install -y clang
Fedora
RUN dnf install -y clang
Raspbian
RUN apt-get update && \ apt-get install -y clang-format
click the source code to copy install clang-format on any operating system with command-not-found.com