macOS
brew install xonshlocal Homebrew formula metadata
sudo port install xonshMacPorts ports tree · shells/xonsh/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de xonsh pour les workflows d'agents IA.
installation
brew install xonshlocal Homebrew formula metadata
sudo port install xonshMacPorts ports tree · shells/xonsh/Portfile · Source: api.github.com
sudo apk add xonshAlpine Linux edge package indexes · xonsh · Source: dl-cdn.alpinelinux.org
sudo apt install xonshDebian stable package indexes · xonsh · Source: deb.debian.org
sudo dnf install xonshFedora Rawhide package metadata · xonsh · Source: dl.fedoraproject.org
nix profile install nixpkgs#xonshnixpkgs package indexes · pkgs/by-name/xo/xonsh/package.nix · Source: api.github.com
sudo pacman -S xonshArch Linux sync databases · xonsh · Source: geo.mirror.pkgbuild.com
sudo zypper install xonshopenSUSE Tumbleweed package metadata · xonsh · Source: download.opensuse.org
aperçu
Python-powered, cross-platform, Unix-gazing shell language and command prompt
historique
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.
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.
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.
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.
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.
posture de sécurité
generalized runtime or code generation signal.
risque yellow · confiance moyen · runtime
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
local files
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.
Config paths the tool may read or write during local use.
~/.xonshrc~/.config/xonsh/rc.xsh/etc/xonsh/xonshrc~/.config/xonsh/rc.d//etc/xonsh/rc.d/%ALLUSERSPROFILE%\xonsh\xonshrcexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
xonsh | cli | exécutable global | |
xonsh-cat | cli | exécutable global | |
xonsh-uname | cli | exécutable global | |
xonsh-uptime | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:xonsh |
|---|---|
| Version | 0.24.0 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/xonsh |
| Page d'accueil | https://xon.sh |
| Dépôt | https://github.com/xonsh/xonsh |
| Docs amont | https://xon.sh/contents.html |
| Licence | BSD-2-Clause-Views |
| Archive source | https://files.pythonhosted.org/packages/1e/82/a70fcbd8e542a55b990c61707c4f26fd42071badd3c08193931706a10323/xonsh-0.24.0.tar.gz |
| Dernière mise à jour | 2026-07-03T13:30:45Z |
| Pulse | updated |
| Dépendances | python@3.14 |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xonsh |
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
xonsh 0.19.4+dfsg-1
Python-powered, cross-platform, Unix-gazing shell
sudo apt install xonshxonsh-doc 0.19.4+dfsg-1
Python-powered, cross-platform, Unix-gazing shell (documentation)
sudo apt install xonsh-docxonsh
nix profile install nixpkgs#xonshxonsh 0.14.4+dfsg-1
Python-powered, cross-platform, Unix-gazing shell
sudo apt install xonshxonsh-doc 0.14.4+dfsg-1
Python-powered, cross-platform, Unix-gazing shell (documentation)
sudo apt install xonsh-docxonsh 0.22.8-r0
Python-powered, full-featured and cross-platform shell
sudo apk add xonshxonsh-pyc 0.22.8-r0
Precompiled Python bytecode for xonsh
sudo apk add xonsh-pycxonsh 0.23.1-2.fc45
A general purpose, Python-ish shell
sudo dnf install xonshxonsh 0.23.8-1
A python-powered shell. Full-featured and cross-platform.
sudo pacman -S xonshxonsh 0.23.1-1.1
A general purpose, Python-powered shell
sudo zypper install xonshxonsh-doc 0.23.1-1.1
Documentation files for xonsh
sudo zypper install xonsh-docxonsh
sudo port install xonshpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.