# 使用 Homebrew, MacPorts, Nix 安装 rustpython

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

## 安装

```sh
sudo av install brew:rustpython
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install rustpython
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install rustpython
```

  证据: MacPorts ports tree: lang/rustpython/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#rustpython
```

  证据: nixpkgs package indexes: pkgs/by-name/ru/rustpython/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:rustpython
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/rustpython>
- **版本:** 0.5.0
- **来源摘要:** Python Interpreter written in Rust
- **主页:** <https://rustpython.github.io>
- **仓库:** <https://github.com/RustPython/RustPython>
- **上游文档:** <https://rustpython.github.io>
- **许可证:** MIT
- **源码归档:** <https://github.com/RustPython/RustPython/archive/refs/tags/0.5.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- rustpython (cli)
- rustpython (别名)

## 构建依赖

- rust

## macOS 提供的库

- libffi

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.5.0
- 本地数据: OK
- 上游仓库: https://github.com/RustPython/RustPython
- 检测到的最新版本: 0.5.0 (当前)
- 信息: No package-manager update timestamp was available.

## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** rustpython
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Nix - rustpython: normalized package name match | nixpkgs package indexes: pkgs/by-name/ru/rustpython/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - rustpython: normalized package name match | MacPorts ports tree: lang/rustpython/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [mawk](https://pkg.so/zh-hans/brew/mawk/) - Shares pkgdb curated category or tags: cli, interpreter, language-runtime.
- [bic](https://pkg.so/zh-hans/brew/bic/) - Shares pkgdb curated category or tags: cli, interpreter, language-runtime.
- [woxi](https://pkg.so/zh-hans/brew/woxi/) - Shares pkgdb curated category or tags: cli, interpreter, language-runtime, rust, wasm.
- [picoc](https://pkg.so/zh-hans/brew/picoc/) - Shares pkgdb curated category or tags: cli, interpreter, language-runtime.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Shares pkgdb curated category or tags: cli, interpreter, language-runtime, python.
- [python@3.13](https://pkg.so/zh-hans/brew/python-3-13/) - Shares pkgdb curated category or tags: cli, interpreter, language-runtime, python.
- [python@3.12](https://pkg.so/zh-hans/brew/python-3-12/) - Shares pkgdb curated category or tags: cli, interpreter, language-runtime, python.
- [python@3.11](https://pkg.so/zh-hans/brew/python-3-11/) - Shares pkgdb curated category or tags: cli, interpreter, language-runtime, python.
- [three-body](https://pkg.so/zh-hans/brew/three-body/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, interpreter, language, language-runtime, runtime.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
