# 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
- **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>
- **Dernière mise à jour:** 2026-07-10T13:05:06-04:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- ccls (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.20250815.1
## 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
## 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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
