macOS
brew install ncnnlocal Homebrew formula metadata
brew
High-performance neural network inference framework. Version 20260526 via Homebrew; verified 2026-06-25.
install
brew install ncnnlocal Homebrew formula metadata
sudo dnf install ncnnFedora Rawhide package metadata · ncnn · source: dl.fedoraproject.org
nix profile install nixpkgs#ncnnnixpkgs package indexes · pkgs/by-name/nc/ncnn/package.nix · source: api.github.com
sudo pacman -S ncnnArch Linux sync databases · ncnn · source: geo.mirror.pkgbuild.com
sudo zypper install libncnn1openSUSE Tumbleweed package metadata · libncnn1 · source: download.opensuse.org
overview
High-performance neural network inference framework
history
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.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
caffe2ncnn | cli | global executable | |
darknet2ncnn | cli | global executable | |
mxnet2ncnn | cli | global executable | |
ncnn2int8 | cli | global executable | |
ncnn2mem | cli | global executable | |
ncnn2table | cli | global executable | |
ncnnmerge | cli | global executable | |
ncnnoptimize | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/Tencent/ncnn
install metadata
| Package key | brew:ncnn |
|---|---|
| Version | 20260526 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ncnn |
| Homepage | https://github.com/Tencent/ncnn |
| Repository | https://github.com/Tencent/ncnn |
| Upstream docs | https://github.com/Tencent/ncnn |
| License | BSD-3-Clause |
| Source archive | https://github.com/Tencent/ncnn/archive/refs/tags/20260526.tar.gz |
| Last updated | 2026-06-25T13:37:56+02:00 |
| Pulse | updated |
| Dependencies | abseil, glslang, libomp, molten-vk, protobuf, spirv-tools |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.