I tried searching with
pacman -Ss for
git-clang-format, etc, but I'm not having any luck.
However, I have seen some references to it on some other websites, implying it may exist (or have existed) somewhere.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
git-clang-format are available in several forms:
As a part of
[As noted by OP in the final comments below, and with OP's answer to their own question, these should be included with MSYS2/MingGW on Windows].
As pre-compiled Python wheels for Linux (only) available via
For Python versions on Linux, you may wish to try:
python3 -m pip install clang-format
Assuming Node.js is installed, you can also get them both with:
npm install -g clang-format
Note that on Windows, using the Node.js option seems to be the simplest solution for obtaining just
git-clang-format (without installing MinGW).