# Installer ccls avec Homebrew, apk, apt, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de ccls pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:ccls
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install ccls
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ccls
```

  Preuve: MacPorts ports tree: devel/ccls/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add ccls
```

  Preuve: Alpine Linux edge package indexes: ccls from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install ccls
```

  Preuve: Debian stable package indexes: ccls from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#ccls
```

  Preuve: nixpkgs package indexes: pkgs/by-name/cc/ccls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S ccls
```

  Preuve: Arch Linux sync databases: ccls from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install ccls
```

  Preuve: openSUSE Tumbleweed package metadata: ccls from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:ccls
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/ccls>
- **Version:** 0.20250815.1
- **Résumé source:** C/C++/ObjC language server
- **Page d'accueil:** <https://github.com/MaskRay/ccls>
- **Dépôt:** <https://github.com/MaskRay/ccls>
- **Licence:** Apache-2.0
- **Archive source:** <https://github.com/MaskRay/ccls/archive/refs/tags/0.20250815.1.tar.gz>
- **Dernière mise à jour:** 2026-07-10T13:05:06-04:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- ccls (cli)
- ccls (alias)

## Dépendances

- llvm

## Dépendances de compilation

- cmake
- rapidjson

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.20250815.1
- gestionnaire mis à jour: 2026-07-10
- données locales: OK
- dépôt amont: https://github.com/MaskRay/ccls
- dernière version détectée: 0.20250815.1 (à jour)
## Historique du projet et usages

ccls is a C, C++, and Objective-C language server. Its README says it originates from cquery and supports completion, cross references, hierarchies, formatting, diagnostics, semantic highlighting, and whole-project indexing.

### Historique du projet

The official GitHub repository was created in March 2018. The README explicitly frames ccls as originating from cquery, another C/C++ language-server project, and describes ccls' distinguishing emphasis on indexing the whole project while serving requests before indexing is complete.

### Historique d'adoption

The supplied package facts show ccls packaged broadly across Alpine, Homebrew, Debian, MacPorts, Nix, Arch, Ubuntu, and openSUSE. That spread reflects language-server adoption by editors and distributions after the Language Server Protocol became common infrastructure.

### Modes d'utilisation

A typical ccls setup gives the server a project-root compile_commands.json generated by the build system, or a project-root .ccls file containing compiler flags. Editors then speak LSP to ccls for code completion, navigation, references, diagnostics, and semantic highlighting.

### Pourquoi les passionnés de paquets s'y intéressent

ccls is significant because it packages a clang-based language server as a standalone system dependency instead of binding users to one editor extension. For package managers, it is the sort of developer-tool daemon that makes editor integrations reproducible across machines.

### Chronologie

- 2018: GitHub repository created.
- 2018: README documents ccls as originating from cquery and able to index itself, FreeBSD, glibc, Linux, LLVM, and musl.
- 2025: GitHub tags show continued dated releases.

### Related projects

- The README names cquery as the origin project and relies on clang-style compilation databases such as compile_commands.json.

### Sources

- <https://api.github.com/repos/MaskRay/ccls>
- <https://github.com/MaskRay/ccls>
- <https://github.com/MaskRay/ccls/wiki>
- <https://github.com/MaskRay/ccls#readme>
- <https://formulae.brew.sh/api/formula/ccls.json>


## Notes de sécurité

broad file, network, media, or database tool signal.

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: <project-root>/compile_commands.json, <project-root>/.ccls
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ccls
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Autres enregistrements de gestionnaires de paquets

- Debian apt - ccls - 0.20241108-1: normalized package name match | Debian stable package indexes: ccls from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C/C++/ObjC language server | https://github.com/MaskRay/ccls
- Nix - ccls: normalized package name match | nixpkgs package indexes: pkgs/by-name/cc/ccls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ccls - 0.20240202-1: normalized package name match | Ubuntu 24.04 LTS package indexes: ccls from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C/C++/ObjC language server | https://github.com/MaskRay/ccls
- apk - ccls - 0.20250815.1-r1: normalized package name match | Alpine Linux edge package indexes: ccls from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C/C++/Objective-C language server | https://github.com/MaskRay/ccls
- pacman - ccls - 0.20250815.1-2: normalized package name match | Arch Linux sync databases: ccls from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting | https://github.com/MaskRay/ccls
- zypper - ccls - 0.20250815.1-2.4: normalized package name match | openSUSE Tumbleweed package metadata: ccls from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | C/C++/ObjC language server | https://github.com/MaskRay/ccls
- MacPorts - ccls: normalized package name match | MacPorts ports tree: devel/ccls/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [llvm](https://pkg.so/fr/brew/llvm/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/fr/brew/cmake/) - Build dependency declared by Homebrew.
- [astyle](https://pkg.so/fr/brew/astyle/) - Shares pkgdb curated category or tags: c, c-plus-plus, cli, developer-tools, objective-c.
- [dockerfile-language-server](https://pkg.so/fr/brew/dockerfile-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, language-servers.
- [metals](https://pkg.so/fr/brew/metals/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, language-servers.
- [neocmakelsp](https://pkg.so/fr/brew/neocmakelsp/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, language-servers.
- [sql-language-server](https://pkg.so/fr/brew/sql-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server-protocol, language-servers.
- [fennel-ls](https://pkg.so/fr/brew/fennel-ls/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, language-servers.
- [ccache](https://pkg.so/fr/brew/ccache/) - Shares pkgdb curated category or tags: c, c-plus-plus, cli, developer-tools.
- [swig](https://pkg.so/fr/brew/swig/) - Shares pkgdb curated category or tags: c, c-plus-plus, cli, developer-tools.
- [vscode-languageserver](https://pkg.so/fr/npm/vscode-languageserver/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, language, language-server.

## Combined YAML source

View the package source record on GitHub. [combined/ccls.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ccls.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
