# Install clang-format with npm

node wrapper around clang-format. Version 1.8.0 via npm; verified 2022-04-29.

## 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-07-08T07:18:31+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-07-08
- 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. Nucleus 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.7-1.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Integration of clang-format for git | http://llvm.org


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Matched curated package taxonomy and local package facts.
- [clang-format](https://www.automicvault.com/pkg/brew/clang-format/) - Same normalized package name appears in another local ecosystem. Shared terms: clang, clang-format, format, git, git-clang-format.
- [browserstack-cypress-cli](https://www.automicvault.com/pkg/npm/browserstack-cypress-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: async, git, glob, node.
- [commitizen](https://www.automicvault.com/pkg/npm/commitizen/) - Both packages touch the same language runtime or ecosystem. Shared terms: format, git, glob, node.
- [clang-format](https://www.automicvault.com/pkg/brew/clang-format/) - Same normalized package name exists in another local package ecosystem.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
