macOS
brew install ncnnlocal Homebrew formula metadata
brew
ncnn のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install ncnnlocal Homebrew formula metadata
sudo dnf install ncnnFedora Rawhide package metadata · ncnn · ソース: dl.fedoraproject.org
nix profile install nixpkgs#ncnnnixpkgs package indexes · pkgs/by-name/nc/ncnn/package.nix · ソース: api.github.com
sudo pacman -S ncnnArch Linux sync databases · ncnn · ソース: geo.mirror.pkgbuild.com
sudo zypper install ncnnopenSUSE Tumbleweed package metadata · ncnn · ソース: download.opensuse.org
概要
High-performance neural network inference framework
履歴
ncnn is Tencent's open-source neural-network inference runtime for mobile, embedded, desktop, browser, and edge deployment. Its niche is small, dependency-light inference: the upstream README emphasizes no third-party runtime dependencies, CPU and Vulkan GPU backends, explicit low-memory allocator design, and conversion tools such as pnnx for PyTorch and ONNX workflows.
Tencent presentations describe the ncnn project as dating from 2017, with open collaboration and Vulkan acceleration as central design points. That timing put it in the wave of mobile inference runtimes that appeared after deep-learning deployment moved from server GPUs into phones and edge devices.
Upstream states that ncnn is used in Tencent applications including QQ, Qzone, WeChat, and Pitu. Outside Tencent, its adoption pattern is typical for low-level ML infrastructure: package-manager availability, examples for object detection and vision models, and use by developers who want a C++ runtime without TensorFlow Lite or ONNX Runtime-sized baggage.
Package users usually install ncnn for the converter and optimizer executables as much as for the library. A common flow is export from PyTorch through pnnx, produce .param and .bin model files, run optimization or int8 tooling, and embed the resulting model in a C++ or mobile application using ncnn::Net.
For package maintainers, ncnn is interesting because it is a fast-moving C++/Vulkan project that exposes both libraries and many small CLI tools. It is also a useful example of a Homebrew formula where the command-line surface is mostly build/deployment tooling around a library rather than one end-user command.
セキュリティ状態
broad file, network, media, or database tool signal.
リスク blue · 信頼度 中 · tool
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
caffe2ncnn | cli | グローバル実行可能ファイル | |
darknet2ncnn | cli | グローバル実行可能ファイル | |
mxnet2ncnn | cli | グローバル実行可能ファイル | |
ncnn2int8 | cli | グローバル実行可能ファイル | |
ncnn2mem | cli | グローバル実行可能ファイル | |
ncnn2table | cli | グローバル実行可能ファイル | |
ncnnmerge | cli | グローバル実行可能ファイル | |
ncnnoptimize | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/Tencent/ncnn
インストールメタデータ
| パッケージキー | brew:ncnn |
|---|---|
| バージョン | 20260526 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/ncnn |
| ホームページ | https://github.com/Tencent/ncnn |
| リポジトリ | https://github.com/Tencent/ncnn |
| 上流ドキュメント | https://github.com/Tencent/ncnn |
| ライセンス | BSD-3-Clause |
| ソースアーカイブ | https://github.com/Tencent/ncnn/archive/refs/tags/20260526.tar.gz |
| 最終更新 | 2026-06-25T13:37:56+02:00 |
| Pulse | updated |
| 依存関係 | abseil, glslang, libomp, molten-vk, protobuf, spirv-tools |
| ビルド依存関係 | cmake |
| 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 | ncnn |
| 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 パッケージリンクとは分けて表示されます。
ncnn
nix profile install nixpkgs#ncnnncnn 20250916-3.fc45
A high-performance neural network inference framework
https://github.com/Tencent/ncnn
sudo dnf install ncnnncnn-devel 20250916-3.fc45
Development files for ncnn
https://github.com/Tencent/ncnn
sudo dnf install ncnn-develncnn 20260113-6
High-performance neural network inference framework optimized for the mobile platform
https://github.com/Tencent/ncnn
sudo pacman -S ncnnlibncnn1 20250916-1.8
NCNN library
https://github.com/Tencent/ncnn
sudo zypper install libncnn1ncnn 20250916-1.8
A high-performance neural network inference framework
https://github.com/Tencent/ncnn
sudo zypper install ncnnncnn-devel 20250916-1.8
Development tools for ncnn
https://github.com/Tencent/ncnn
sudo zypper install ncnn-develソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.