# 使用 Homebrew, apt 安装 nuitka

查看 nuitka 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:nuitka
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install nuitka
```

  证据: local Homebrew formula metadata

### Linux

- Ubuntu apt (92%):

```sh
sudo apt install nuitka
```

  证据: Ubuntu 24.04 LTS package indexes: nuitka from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## 软件包事实

- **软件包键:** brew:nuitka
- **软件包管理器:** Homebrew
- **版本:** 4.1.3
- **来源摘要:** Python compiler written in Python
- **主页:** <https://nuitka.net>
- **仓库:** <https://github.com/Nuitka/Nuitka>
- **最后更新:** 2026-06-22T13:55:04Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- compile-python-for-nuitka-linux.sh (别名)
- nuitka (别名)
- nuitka-run (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 4.1.3
## 项目历史与用法

Nuitka is a Python compiler written in Python. It translates Python programs into compiled executables or extension modules, with special attention to CPython compatibility and deployment modes such as standalone and onefile builds.

### 项目历史

Nuitka has roots in Kay Hayen's long-running Python compiler work. The official Nuitka blog index lists early stable releases back to at least Nuitka 0.2 on August 28, 2010, and later records Nuitka 1.0 on August 16, 2022, showing a project that spent many years maturing before the 1.0 milestone.

The GitHub repository was created on April 23, 2013, according to GitHub's repository API. By July 1, 2026, the same API reported 14,965 stars, which matches the pattern of a specialized but well-known packaging/compiler project rather than a tiny one-off CLI.

### 采用历史

Nuitka's adoption track is tied to Python application distribution. Instead of only bundling Python files, it compiles Python through C/C toolchains and can produce executables that run without a separate installer. The official homepage says it works across Windows, macOS, Linux, and other Python-supported systems, and the GitHub README highlights standalone and onefile modes.

Homebrew packages Nuitka for macOS and Linux users; its formula showed stable version 4.1.3 and 1,054 installs over the 365-day analytics window visible on July 1, 2026. The project is also packaged by Linux distributions, including Ubuntu in this av.db source record, which gives it a route into distro-managed Python tooling.

### 使用方式

Package nerds reach for Nuitka when they want a Python program delivered as an executable, especially desktop apps, CLI tools, or internal utilities where asking the user to install Python and dependencies is undesirable. The common mental model is: install Nuitka, compile the entry point, decide between accelerated/module/standalone/onefile behavior, and then tune data files, imports, plugins, and platform-specific compiler details.

`--mode=standalone` and `--mode=onefile` matter in real usage because they answer different distribution problems: a directory tree that carries the runtime and dependencies, or a compressed single-file executable that extracts/runs as needed. Nuitka users often compare that tradeoff against PyInstaller, cx_Freeze, and native extension builds.

### 为什么软件包爱好者会关心

Nuitka sits at the boundary between packaging and compilation. It is not the default Python package installer, but it is one of the serious tools people evaluate when Python packaging stops being about libraries and becomes about shipping an application to machines that may not have a managed Python environment.

### 时间线

- 2010-08-28: Official blog index lists Nuitka Release 0.2.
- 2013-04-23: GitHub repository created.
- 2022-08-16: Official blog index lists Nuitka Release 1.0.
- 2026-07-01: GitHub API reported 14,965 stars; Homebrew formula showed stable 4.1.3.

### Related projects

- CPython
- PyInstaller
- cx_Freeze
- setuptools
- Python packaging

### 来源

- <https://api.github.com/repos/Nuitka/Nuitka>
- <https://formulae.brew.sh/formula/nuitka>
- <https://github.com/Nuitka/Nuitka>
- <https://nuitka.net/>
- <https://nuitka.net/blog/author/kay-hayen.html>
- <https://nuitka.net/user-documentation/user-manual.html>


## 安全说明

没有找到 nuitka 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- Ubuntu apt - nuitka - 1.3.5+ds-1: normalized package name match | Ubuntu 24.04 LTS package indexes: nuitka from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python compiler with full language support and CPython compatibility | https://nuitka.net


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
