# 使用 Homebrew, apk, apt, dnf, pacman, zypper 安装 ipython

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

## 安装

```sh
sudo av install brew:ipython
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ipython
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add ipython
```

  证据: Alpine Linux edge package indexes: ipython from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install ipython3
```

  证据: Debian stable package indexes: ipython3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install python3-ipython
```

  证据: Fedora Rawhide package metadata: python3-ipython from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S ipython
```

  证据: Arch Linux sync databases: ipython from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install python311-ipython
```

  证据: openSUSE Tumbleweed package metadata: python311-ipython from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:ipython
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ipython>
- **版本:** 9.15.0
- **来源摘要:** Interactive computing in Python
- **主页:** <https://ipython.org/>
- **仓库:** <https://github.com/ipython/ipython>
- **上游文档:** <https://ipython.org/documentation.html>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://files.pythonhosted.org/packages/53/59/165d3b4d75cc34add3122c4417ecb229085140ac573103c223cd01dde96f/ipython-9.15.0.tar.gz>
- **最后更新:** 2026-06-27T12:13:46Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- ipython (cli)
- ipython3 (cli)
- ipython (别名)
- ipython3 (别名)

## 依赖

- python@3.14

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 9.15.0
- 管理器更新时间: 2026-06-27
- 本地数据: OK
- 上游仓库: https://ipython.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

IPython is the influential interactive Python shell and computing environment that helped define modern Python REPL ergonomics: rich introspection, history, magic commands, colored tracebacks, object display, shell integration, and a profile-based configuration system.

### 项目历史

The official IPython history says Fernando Perez started IPython in 2001 while a graduate student at the University of Colorado, Boulder. It grew from three projects: Perez's ipython, Janko Hauser's IPP, and Nathan Gray's LazyPython.

Perez's stated goal was to combine shell-like features, IDL/Matlab-style numerical work, Mathematica-like prompt and output history, and strong object introspection into a unified Python environment. That origin explains why IPython became both a programmer convenience tool and a scientific-computing foundation.

IPython later became the human-facing terminal shell part of a larger interactive-computing ecosystem. The Jupyter split moved notebooks, kernels, and language-agnostic protocols into Jupyter projects, while IPython continued as the Python terminal shell, kernel implementation lineage, and library of interactive features.

The long 8.x release notes show ongoing adaptation to Python version changes, prompt-toolkit behavior, debugger behavior, magics, rich display, and even experimental LLM completion hooks, while preserving the central command-line shell identity.

### 采用历史

IPython was adopted heavily in scientific Python because it made exploratory programming feel closer to mathematical systems while remaining ordinary Python. It became a common dependency or companion for NumPy, SciPy, matplotlib, notebooks, teaching environments, and data-analysis workflows.

Package managers matter to IPython's spread: it is shipped by Homebrew and major Linux distributions, while Python users also install it through Python packaging tools. That dual identity makes it both a system package and a Python ecosystem package.

### 使用方式

Users run the ipython command for an enhanced REPL with tab completion, introspection, command history, magics, shell escapes, debugging helpers, rich tracebacks, and custom display hooks. Configuration lives under IPython profiles, including files such as ipython_config.py and ipython_config.json.

IPython is also used indirectly by tools that embed interactive shells, expose kernels, or rely on IPython display and completion behavior. Its API surface is larger than the visible command because interactive Python became a platform for other developer tools.

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

IPython is package-nerd significant because it is a package that changed user expectations for a language runtime's shell without replacing the language. Its dependency graph, configuration files, terminal integration, and split history with Jupyter make it more than just a binary named ipython.

It is also a case study in ecosystem boundary-setting: notebooks, kernels, and protocols became Jupyter projects, while IPython kept the Python-specific shell and interactive machinery.

### 时间线

- 2001: Fernando Perez starts IPython at the University of Colorado, Boulder.
- 2001: IPython combines ideas from ipython, IPP, and LazyPython.
- 2014: The broader IPython notebook ecosystem moves toward the Jupyter project identity.
- 2015: IPython 4 era aligns with the Jupyter split, leaving IPython focused on Python-specific interactive pieces.
- 2022: The 8.x series begins for modern Python versions and prompt-toolkit based terminal workflows.
- 2025: 8.x release notes document Python 3.13 compatibility and experimental LLM completion work.

### Related projects

- IPython is related to Jupyter, IPykernel, prompt_toolkit, jedi, traitlets, NumPy, SciPy, matplotlib, IPP, LazyPython, and Python's standard interactive interpreter.

### 来源

- <https://formulae.brew.sh/formula/ipython>
- <https://github.com/ipython/ipython>
- <https://ipython.org/documentation.html>
- <https://ipython.readthedocs.io/en/stable>
- <https://ipython.readthedocs.io/en/stable/about/history.html>
- <https://raw.githubusercontent.com/ipython/ipython/main/docs/source/whatsnew/version8.rst>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

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.


## Configuration files

- Unix: ~/.ipython/profile_default/ipython_config.py, ~/.ipython/profile_default/ipython_config.json
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ipython
- **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

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

- Debian apt - ipython3 - 8.35.0-1: normalized package name match | Debian stable package indexes: ipython3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced interactive Python 3 shell | https://github.com/ipython/ipython
- Debian apt - python-ipython-doc - 8.35.0-1: normalized package name match | Debian stable package indexes: python-ipython-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced interactive Python shell (documentation) | https://github.com/ipython/ipython
- Debian apt - python3-ipython - 8.35.0-1: normalized package name match | Debian stable package indexes: python3-ipython from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced interactive Python shell (Python 3 version) | https://github.com/ipython/ipython
- Ubuntu apt - ipython3 - 8.20.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: ipython3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Enhanced interactive Python 3 shell | https://github.com/ipython/ipython
- Ubuntu apt - python-ipython-doc - 8.20.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: python-ipython-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Enhanced interactive Python shell (documentation) | https://github.com/ipython/ipython
- Ubuntu apt - python3-ipython - 8.20.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-ipython from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Enhanced interactive Python shell (Python 3 version) | https://github.com/ipython/ipython
- apk - ipython - 9.14.1-r0: normalized package name match | Alpine Linux edge package indexes: ipython from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A rich toolkit to help you make the most of using Python interactively | https://ipython.org/
- apk - ipython-doc - 9.14.1-r0: normalized package name match | Alpine Linux edge package indexes: ipython-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A rich toolkit to help you make the most of using Python interactively (documentation) | https://ipython.org/
- apk - ipython-pyc - 9.14.1-r0: normalized package name match | Alpine Linux edge package indexes: ipython-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for ipython | https://ipython.org/
- dnf - python3-ipython - 9.13.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: python3-ipython from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | An enhanced interactive Python shell | http://ipython.org/
- dnf - python3-ipython+test - 9.13.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: python3-ipython+test from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Metapackage for python3-ipython: test extras | http://ipython.org/
- dnf - python3-ipython-sphinx - 9.13.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: python3-ipython-sphinx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Sphinx directive to support embedded IPython code | http://ipython.org/
- pacman - ipython - 9.12.0-1: normalized package name match | Arch Linux sync databases: ipython from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Enhanced Interactive Python shell | https://ipython.org
- zypper - python311-ipython - 9.10.0-1.3: installed executable or alias match | openSUSE Tumbleweed package metadata: python311-ipython from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Rich architecture for interactive computing with Python | https://github.com/ipython/ipython
- zypper - python313-ipython - 9.10.0-1.3: installed executable or alias match | openSUSE Tumbleweed package metadata: python313-ipython from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Rich architecture for interactive computing with Python | https://github.com/ipython/ipython
- zypper - python314-ipython - 9.10.0-1.3: installed executable or alias match | openSUSE Tumbleweed package metadata: python314-ipython from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Rich architecture for interactive computing with Python | https://github.com/ipython/ipython


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [ptpython](https://www.automicvault.com/zh-hans/pkg/brew/ptpython/) - Shares av.db curated category or tags: cli, developer-tools, python, repl.
- [crystal-icr](https://www.automicvault.com/zh-hans/pkg/brew/crystal-icr/) - Shares av.db curated category or tags: cli, developer-tools, repl.
- [bpython](https://www.automicvault.com/zh-hans/pkg/brew/bpython/) - Shares av.db curated category or tags: cli, developer-tools, python, repl.
- [jupytext](https://www.automicvault.com/zh-hans/pkg/brew/jupytext/) - Shares av.db curated category or tags: cli, developer-tools, jupyter, python.
- [abi3audit](https://www.automicvault.com/zh-hans/pkg/brew/abi3audit/) - Shares av.db curated category or tags: cli, developer-tools, python.
- [auditwheel](https://www.automicvault.com/zh-hans/pkg/brew/auditwheel/) - Shares av.db curated category or tags: cli, developer-tools, python.
- [austin](https://www.automicvault.com/zh-hans/pkg/brew/austin/) - Shares av.db curated category or tags: cli, developer-tools, python.
- [autopep8](https://www.automicvault.com/zh-hans/pkg/brew/autopep8/) - Shares av.db curated category or tags: cli, developer-tools, python.

## Combined YAML source

View the package source record on GitHub. [combined/ipython.yml](https://github.com/automic-vault/db/blob/main/combined/ipython.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
