Automic VaultAutomic Vault

brew

xonsh mit Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für xonsh in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install xonsh

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install xonsh

MacPorts ports tree · shells/xonsh/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add xonsh

Alpine Linux edge package indexes · xonsh · Quelle: dl-cdn.alpinelinux.org

Debian aptverifiziert · 92%
sudo apt install xonsh

Debian stable package indexes · xonsh · Quelle: deb.debian.org

Fedora dnfverifiziert · 92%
sudo dnf install xonsh

Fedora Rawhide package metadata · xonsh · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#xonsh

nixpkgs package indexes · pkgs/by-name/xo/xonsh/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S xonsh

Arch Linux sync databases · xonsh · Quelle: geo.mirror.pkgbuild.com

openSUSE zypperverifiziert · 92%
sudo zypper install xonsh

openSUSE Tumbleweed package metadata · xonsh · Quelle: download.opensuse.org

Überblick

Paketzusammenfassung

Python-powered, cross-platform, Unix-gazing shell language and command prompt

Befehle und Aliase

  • xonsh
  • xonsh-cat
  • xonsh-uname
  • xonsh-uptime

Verlauf

Projektgeschichte und Nutzung

Xonsh is a Python-powered shell and command prompt that treats Python as the command language while adding shell syntax for subprocesses, environment handling, path work, tab completion, and prompts. Its package-nerd hook is that it is both an interactive shell and an installable Python ecosystem: users can script with normal Python objects, run ordinary Unix commands, and extend the prompt with xontribs.

The project sits in the same alternative-shell conversation as fish, zsh, IPython, and Nushell, but its distinguishing bet is conservative and unusual: do not invent a completely new programming language when Python can be the shell language.

Projektgeschichte

Anthony Scopatz's FAQ says the idea for xonsh came while reviewing the Bash chapter of Effective Computation in Physics and noticing how much shell practice depends on complex conventions for basic programming constructs. The FAQ frames xonsh as an answer to shells that do not fit the user's brain: Python supplies the familiar programming substrate, while xonsh adds enough shell behavior to make it usable as a daily command prompt.

The GitHub repository was created on 2015-01-21. The documentation and README describe xonsh as a superset of Python 3 with seamless integration of shell functionality and commands, implemented by parsing xonsh code into Python AST nodes and deciding between Python mode and subprocess mode when command-like input is ambiguous.

By 2016 xonsh had enough visibility for talks at PyCon and PyBay and coverage in developer publications. Later official talk listings include SciPy 2019 presentations, showing that the project found an audience among scientific Python, data, and systems users who wanted shell ergonomics without leaving the Python runtime.

Adoptionsgeschichte

Xonsh adoption has been strongest among Python-heavy developers, data scientists, and automation users who already value Python syntax and libraries. The project README explicitly demonstrates running subprocesses, mutating PATH, reading files with Python path literals, loading xontribs, and interop with tools such as Jupyter, Starship, and prompt integrations.

Its adoption pattern is less about replacing POSIX shell everywhere and more about creating a daily-driver shell for people who prefer Python's data structures, imports, and expression syntax. The official docs stress cross-platform support across Linux, macOS, Windows, BSD, Jupyter, Android, Raspberry Pi, WSL, Nix, AppImage, Flatpak, and other environments, which made it a natural package-manager item rather than a single-platform shell experiment.

Wie es verwendet wird

Typical use is interactive: set xonsh as a login or terminal shell, keep startup code in xonsh rc files, run normal external commands, and drop into Python expressions when shell text processing would be awkward. The tutorial emphasizes Python-mode versus subprocess-mode, environment variables as Python-accessible values, and explicit subprocess syntax for cases where ambiguity matters.

For automation, xonsh is useful when a task needs both shell pipelines and real Python data handling. Users commonly reach for it to glue command-line tools, JSON output, Python imports, prompt customization, and cross-platform path/environment logic without splitting the workflow between Bash and standalone Python scripts.

Warum Paket-Nerds sich dafür interessieren

Xonsh is package-nerd significant because it makes the shell itself an application-runtime choice. Installing it changes not just one command but the language used at the prompt, the configuration files a user maintains, and the extension surface exposed through xontribs.

It is also a useful counterexample to the idea that every shell needs its own bespoke scripting language. Xonsh's design shows a different packaging story: ship a shell that borrows the host language's parser, AST, libraries, and package ecosystem, then add only the command-line affordances needed to make it feel native at a terminal.

Zeitleiste

  • 2015-01-21: The xonsh GitHub repository is created.
  • 2016-06: Xonsh is presented at PyCon and covered by developer press.
  • 2016-09: A PyBay talk appears in the official talks list.
  • 2019-07: Xonsh is presented at SciPy by Anthony Scopatz and Gil Forsyth.
  • 2026: The project documentation describes xonsh as a cross-platform Python-based shell with an ecosystem of xontrib extensions.

Related projects

  • Python is the language substrate xonsh extends for shell use.
  • IPython is a related Python command-line environment that xonsh explicitly contrasts with in its FAQ.
  • fish, zsh, Bash, and Nushell are adjacent shells in the same usability and scripting-design space.
  • xontrib packages are the extension layer for prompt integrations, completions, shell interop, and workflow-specific features.

Sicherheitslage

Risikostufe: yellow

generalized runtime or code generation signal.

Risikoklassifikator

yellow Risiko · mittel Konfidenz · runtime

Warum

  • generalized runtime or code generation signal

Signale

  • text:shell

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

local files

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

Config paths the tool may read or write during local use.

Unix
~/.xonshrc~/.config/xonsh/rc.xsh/etc/xonsh/xonshrc~/.config/xonsh/rc.d//etc/xonsh/rc.d/
Windows
%ALLUSERSPROFILE%\xonsh\xonshrc

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
xonshcliglobales Executable
xonsh-catcliglobales Executable
xonsh-unamecliglobales Executable
xonsh-uptimecliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-08
Manager-Version0.24.0
Manager aktualisiert2026-07-03
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://xon.sh

  • InfoRelease/tag comparison is only available for GitHub repositories.https://xon.shnone Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:xonsh
Version0.24.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/xonsh
Homepagehttps://xon.sh
Repositoryhttps://github.com/xonsh/xonsh
Upstream-Dokumentationhttps://xon.sh/contents.html
LizenzBSD-2-Clause-Views
Quellarchivhttps://files.pythonhosted.org/packages/1e/82/a70fcbd8e542a55b990c61707c4f26fd42071badd3c08193931706a10323/xonsh-0.24.0.tar.gz
Zuletzt aktualisiert2026-07-03T13:30:45Z
Pulseupdated
Abhängigkeitenpython@3.14
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexonsh
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

xonsh 0.19.4+dfsg-1

Python-powered, cross-platform, Unix-gazing shell

https://xon.sh/

sudo apt install xonsh
  • Section: shells
  • Architecture: all
  • 2 Abhängigkeiten
  • 6 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Xonsh
Debian stable package indexes · deb.debian.org · Debian stable package indexes: xonsh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

xonsh-doc 0.19.4+dfsg-1

Python-powered, cross-platform, Unix-gazing shell (documentation)

https://xon.sh/

sudo apt install xonsh-doc
  • Section: doc
  • Architecture: all
  • Source Package: xonsh
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Xonsh
Debian stable package indexes · deb.debian.org · Debian stable package indexes: xonsh-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

xonsh

nix profile install nixpkgs#xonsh
  • normalized package name match
  • Abgeglichen nach: Xonsh
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xo/xonsh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

xonsh 0.14.4+dfsg-1

Python-powered, cross-platform, Unix-gazing shell

https://xon.sh/

sudo apt install xonsh
  • Section: universe/shells
  • Architecture: all
  • 2 Abhängigkeiten
  • 5 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Xonsh
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: xonsh from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

xonsh-doc 0.14.4+dfsg-1

Python-powered, cross-platform, Unix-gazing shell (documentation)

https://xon.sh/

sudo apt install xonsh-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: xonsh
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Xonsh
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: xonsh-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

xonsh 0.22.8-r0

Python-powered, full-featured and cross-platform shell

https://xon.sh

sudo apk add xonsh
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: xonsh
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Xonsh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xonsh from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

xonsh-pyc 0.22.8-r0

Precompiled Python bytecode for xonsh

https://xon.sh

sudo apk add xonsh-pyc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: xonsh
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Xonsh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xonsh-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

xonsh 0.23.1-2.fc45

A general purpose, Python-ish shell

https://xon.sh

sudo dnf install xonsh
  • License: BSD-2-Clause AND MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: xonsh
  • 4 Abhängigkeiten
  • 3 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Xonsh
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xonsh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

xonsh 0.23.8-1

A python-powered shell. Full-featured and cross-platform.

https://xon.sh/

sudo pacman -S xonsh
  • License: BSD-2-Clause
  • Architecture: any
  • 6 Abhängigkeiten
  • 4 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Xonsh
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: xonsh from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

xonsh 0.23.1-1.1

A general purpose, Python-powered shell

https://xon.sh/

sudo zypper install xonsh
  • License: BSD-2-Clause AND BSD-3-Clause
  • Category: Development/Languages/Python
  • Architecture: noarch
  • Source Package: xonsh
  • 3 Abhängigkeiten
  • 4 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Xonsh
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xonsh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

xonsh-doc 0.23.1-1.1

Documentation files for xonsh

https://xon.sh/

sudo zypper install xonsh-doc
  • License: BSD-2-Clause AND BSD-3-Clause
  • Category: Documentation/HTML
  • Architecture: noarch
  • Source Package: xonsh
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Xonsh
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xonsh-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

xonsh

sudo port install xonsh
  • normalized package name match
  • Abgeglichen nach: Xonsh
MacPorts ports tree · api.github.com · MacPorts ports tree: shells/xonsh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

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