macOS
brew install cclslocal Homebrew formula metadata
sudo port install cclsMacPorts ports tree · devel/ccls/Portfile · 来源: api.github.com
安装
brew install cclslocal Homebrew formula metadata
sudo port install cclsMacPorts ports tree · devel/ccls/Portfile · 来源: api.github.com
sudo apk add cclsAlpine Linux edge package indexes · ccls · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#cclsnixpkgs package indexes · pkgs/by-name/cc/ccls/package.nix · 来源: api.github.com
sudo pacman -S cclsArch Linux sync databases · ccls · 来源: geo.mirror.pkgbuild.com
sudo zypper install cclsopenSUSE Tumbleweed package metadata · ccls · 来源: download.opensuse.org
概览
C/C++/ObjC language server
历史
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.
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.
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.
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.
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
<project-root>/compile_commands.json<project-root>/.ccls可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ccls | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/MaskRay/ccls
安装元数据
| 软件包键 | brew:ccls |
|---|---|
| 版本 | 0.20250815.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ccls |
| 主页 | https://github.com/MaskRay/ccls |
| 仓库 | https://github.com/MaskRay/ccls |
| 上游文档 | https://github.com/MaskRay/ccls#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/MaskRay/ccls/archive/refs/tags/0.20250815.1.tar.gz |
| 最后更新 | 2026-07-10T13:05:06-04:00 |
| Pulse | updated |
| 依赖 | llvm |
| 构建依赖 | cmake, rapidjson |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
ccls 0.20241108-1
C/C++/ObjC language server
https://github.com/MaskRay/ccls
sudo apt install cclsccls
nix profile install nixpkgs#cclsccls 0.20240202-1
C/C++/ObjC language server
https://github.com/MaskRay/ccls
sudo apt install cclsccls 0.20250815.1-r1
C/C++/Objective-C language server
https://github.com/MaskRay/ccls
sudo apk add cclsccls 0.20250815.1-2
C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
https://github.com/MaskRay/ccls
sudo pacman -S cclsccls 0.20250815.1-2.2
C/C++/ObjC language server
https://github.com/MaskRay/ccls
sudo zypper install cclsccls
sudo port install ccls来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.