# Install clang-format with npm

node wrapper around clang-format. Version 1.8.0 via npm; verified 2022-04-29. Also installable with debian: sudo apt install clang-format.

## Install

```sh
sudo av install npm:clang-format
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g clang-format
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:clang-format
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/clang-format>
- **Version:** 1.8.0
- **Source summary:** node wrapper around clang-format
- **Homepage:** <https://github.com/angular/clang-format#readme>
- **Repository:** <https://github.com/angular/clang-format>
- **Upstream docs:** <https://github.com/angular/clang-format#readme>
- **License:** Apache-2.0
- **Source archive:** <https://registry.npmjs.org/clang-format/-/clang-format-1.8.0.tgz>
- **Issue tracker:** <https://github.com/angular/clang-format/issues>
- **Published:** 2022-04-29T11:22:02.333Z
- **Last updated:** 2022-04-29T11:22:02.333Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- check-clang-format (cli)
- clang-format (cli)
- git-clang-format (cli)

## Dependencies

- async
- glob
- resolve

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 1.8.0
- Package-manager updated: 2022-04-29
- Local data: ok
- Upstream repository: https://github.com/angular/clang-format
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for clang-format. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.8.0
- **Version Count:** 69
- **Maintainers:** mprobst
- **Publisher:** mprobst
- **Integrity:** sha512-pK8gzfu55/lHzIpQ1givIbWfn3eXnU7SfxqIwVgnn5jEM6j4ZJYjpFqFs4iSBPNedzRMmfjYjuQhu657WAXHXw==
- **Shasum:** 7779df1c5ce1bc8aac1b0b02b4e479191ef21d46
- **Unpacked Size:** 8,760,468
- **File Count:** 0
- **Created At:** 2015-03-06T01:27:49.438Z
- **Latest Published At:** 2022-04-29T11:22:02.333Z
- **Modified At:** 2023-06-18T02:17:15.908Z

## Other Package-Manager Records

- Debian apt - clang-format - 1:19.0-63: normalized package name match | Debian stable package indexes: clang-format from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tool to format C/C++/Obj-C code
- Ubuntu apt - clang-format - 1:18.0-59~exp2: normalized package name match | Ubuntu 24.04 LTS package indexes: clang-format from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tool to format C/C++/Obj-C code
- dnf - git-clang-format - 22.1.8-20.fc45: installed executable or alias match | Fedora Rawhide package metadata: git-clang-format from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Integration of clang-format for git | http://llvm.org


## Related links

- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [esformatter](https://pkg.so/npm/esformatter/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, format, formatter.
- [sass-export](https://pkg.so/npm/sass-export/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, format, formatting.
- [envfile](https://pkg.so/npm/envfile/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, format, formatter.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
