Xonsh

Xonsh combines Python with a shell for Linux, macOS, Windows, and Android.

xon.sh
Xonsh homepage screenshot

About Xonsh

Xonsh is a shell based on Python 3. It allows Python code and shell commands to be used in the same session, including pipelines, input/output redirection, and changes to variables such as PATH. It works on Linux, macOS, Windows, BSD, Android, and other environments including Raspberry Pi and Nix. Additional functionality is provided through xontribs, which are community-built extensions.

Key features

  • Run Python 3 code directly in shell session
  • Use shell pipelines and input/output redirection
  • Combine shell commands with Python data structures
  • Modify PATH and environment variables from shell
  • Load xontribs to extend shell functionality
  • Run same workflows across Linux, macOS, Windows, BSD
Best for: People who use Python and want to use it for shell tasks across different operating systems.
Good for
  • Works across Linux, macOS, Windows, BSD, and Android
  • Supports both Python code and standard shell operations in one session
  • Can be extended with community-built xontrib plugins

Xonsh at a glance

Website
xon.sh
Type
Website
Pricing
Not confirmed. Check the site
Platforms
Android, Linux, macOS, Web, Windows
Open source
Not stated
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

Xonsh alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Linux Apps

Well-known listings from the same topic.

All 222

Xonsh FAQ

What is Xonsh?
It is a Python-based shell where the language is a superset of Python 3 with shell functionality and commands.
Which platforms does Xonsh support?
Linux, macOS, Windows, BSD, Android, plus Jupyter, Raspberry Pi and Nix.
What are xontribs?
They are tools and conventions for extending the functionality of xonsh.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing