{"id":29140557,"url":"https://github.com/cpp-linter/asdf-clang-tools","last_synced_at":"2025-09-10T14:18:49.415Z","repository":{"id":295953894,"uuid":"991520444","full_name":"cpp-linter/asdf-clang-tools","owner":"cpp-linter","description":"asdf plugin for clang tools (clang-format, clang-tidy, clang-query and clang-apply-replacements)","archived":false,"fork":false,"pushed_at":"2025-09-02T15:14:46.000Z","size":46,"stargazers_count":1,"open_issues_count":10,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-02T17:24:20.629Z","etag":null,"topics":["asdf","asdf-plugin","clang-apply-replacements","clang-format","clang-query","clang-tidy","clang-tool","clang-tools-extra"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"amrox/asdf-clang-tools","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cpp-linter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-27T18:47:25.000Z","updated_at":"2025-09-02T15:14:30.000Z","dependencies_parsed_at":"2025-06-30T17:07:15.226Z","dependency_job_id":"55745496-c8f9-48b9-8261-f63073a02046","html_url":"https://github.com/cpp-linter/asdf-clang-tools","commit_stats":null,"previous_names":["cpp-linter/asdf-clang-tools"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cpp-linter/asdf-clang-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-linter%2Fasdf-clang-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-linter%2Fasdf-clang-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-linter%2Fasdf-clang-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-linter%2Fasdf-clang-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpp-linter","download_url":"https://codeload.github.com/cpp-linter/asdf-clang-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-linter%2Fasdf-clang-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274477290,"owners_count":25292846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asdf","asdf-plugin","clang-apply-replacements","clang-format","clang-query","clang-tidy","clang-tool","clang-tools-extra"],"created_at":"2025-06-30T17:07:10.441Z","updated_at":"2025-09-10T14:18:49.403Z","avatar_url":"https://github.com/cpp-linter.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# asdf-clang-tools [![Build](https://github.com/cpp-linter/asdf-clang-tools/actions/workflows/build.yml/badge.svg)](https://github.com/cpp-linter/asdf-clang-tools/actions/workflows/build.yml) [![Lint](https://github.com/cpp-linter/asdf-clang-tools/actions/workflows/lint.yml/badge.svg)](https://github.com/cpp-linter/asdf-clang-tools/actions/workflows/lint.yml)\n\n[clang-tools](https://github.com/cpp-linter/asdf-clang-tools) plugin for the [asdf version manager](https://asdf-vm.com).\n\n\u003c/div\u003e\n\n# Overview\n\nThis is an asdf plugin for installing several clang tools:\n\n- clang-format\n- clang-tidy\n- clang-query\n- clang-apply-replacements\n\nThis plugin uses the pre-compiled binaries from the very handy [cpp-linter/clang-tools-static-binaries](https://github.com/cpp-linter/clang-tools-static-binaries) repo.\n\n## Caveats\n\n- Again, the source for these binaries is currently [cpp-linter/clang-tools-static-binaries](https://github.com/cpp-linter/clang-tools-static-binaries). Please make sure you trust that repository.\n- Only Intel (`x86_64`/`amd64`) binaries are currently provided.\n  - These binaries do work on macOS with Apple Silicon, but they will run under Rosetta.\n- Signed binaries are not provided for macOS. This plugin will offer to de-quarantine the binaries for you, but please make sure you understand the consequences.\n\n# Dependencies\n\n- `curl`, `jq`\n- `sha512sum` (optional, but recommended)\n\n# Install\n\nPlugin:\n\n| Tool         | Command to add Plugin                                                        |\n| ------------ | ---------------------------------------------------------------------------- |\n| clang-format | `asdf plugin add clang-format https://github.com/cpp-linter/asdf-clang-tools.git` |\n| clang-query  | `asdf plugin add clang-query https://github.com/cpp-linter/asdf-clang-tools.git`  |\n| clang-tidy   | `asdf plugin add clang-tidy https://github.com/cpp-linter/asdf-clang-tools.git`   |\n| clang-apply-replacements | `asdf plugin add clang-apply-replacements https://github.com/cpp-linter/asdf-clang-tools.git` |\n\nExample:\n\n```shell\nasdf plugin add clang-format https://github.com/cpp-linter/asdf-clang-tools.git\n```\n\nclang-format:\n\n```shell\n# Show all installable versions\nasdf list all clang-format\n\n# Install specific version\nasdf install clang-format latest\n\n# Set a version (on your ~/.tool-versions file)\nasdf set clang-format latest\n\n# Now clang-tools commands are available\nclang-format\n```\n\nCheck [asdf](https://github.com/asdf-vm/asdf) readme for more instructions on how to\ninstall \u0026 manage versions.\n\n# Configuration\n\n## Environment Variables\n\n- `ASDF_CLANG_TOOLS_MACOS_DEQUARANTINE`: set to \"1\" to automatically de-quarantine binaries. Otherwise, it will interactively ask to do so.\n- `ASDF_CLANG_TOOLS_LINUX_IGNORE_ARCH`: set to \"1\" to install the `amd64` binary regardless of the host architecture. The [clang-tools](https://github.com/cpp-linter/clang-tools-static-binaries) project does not currently provide `arm64`/`aarch64` Linux binaries. This assumes that you have set up [QEMU User Emulation](https://wiki.debian.org/QemuUserEmulation) (or similar) to run foreign binaries under emulation.\n\n# Contributing\n\nContributions of any kind welcome! See the [contributing guide](contributing.md).\n\n# License\n\nSee [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpp-linter%2Fasdf-clang-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpp-linter%2Fasdf-clang-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpp-linter%2Fasdf-clang-tools/lists"}